thecodealer / vue-panzoom

Vue plugin to zoom/pan dom elements
MIT License
89 stars 20 forks source link

Issue initializing panzoom on firefox due screenCTM #17

Closed theveloped closed 4 years ago

theveloped commented 4 years ago

Hi, I'm still having some ittues getting panzoom to work properly on firefox browsers. It seems screenCTM returns null in some cases causing panzoom to fail. I think this is an issue with firefox (see also this issue at the svg.js: https://github.com/svgdotjs/svg.js/issues/968) it would however be nice if panzoom would work cross browser even with this firefox issue being present.

image

Is there any workaround we could implement? I'd be happy to help but am at a loss as where to start on this.

mistabiggx commented 4 years ago

Kindly refer to the primary library https://github.com/anvaka/panzoom