laurenashpole / vue-inner-image-zoom

https://laurenashpole.github.io/vue-inner-image-zoom
141 stars 16 forks source link

prevent default when trying to move zoom section #7

Closed kumric closed 3 years ago

kumric commented 3 years ago

I found problem when you trying to move zoomed section on some browsers(Firefox...) if using moveType "drag". Grab pointer move whole image instead of moving through the image. This pull request will prevent to grab whole image and allow you to move through the image.

laurenashpole commented 3 years ago

Hey @kumric,

This PR looked good but unfortunately I was also working on a bunch of updates to the component and wound up including a slightly different fix in that deploy. I'm sorry the timing didn't line up but thanks so much for contributing!