Using "contain:outside" throws TypeError: Window.getComputedStyle: Argument 1 is not an object #640
Labels
needs info
This issue needs more info, probably a test case, to continue. It will be reopened if valid.
Describe the bug
I'm using your library and I want to use the contain:outside setting. Whenever I zoom in and out I get an error in the console:
TypeError: Window.getComputedStyle: Argument 1 is not an object
Your environment
Expected behavior
No errors in console.
Actual behavior
One zoom in/out results in 99+ errors thrown ini the console.
Steps to reproduce
Vue.prototype.$panzoom = Panzoom(this.$refs.panZoom, {
maxScale: 1,
origin: '0,0',
contain: 'outside'
})
The text was updated successfully, but these errors were encountered: