v-viewer icon indicating copy to clipboard operation
v-viewer copied to clipboard

Touch events less "agressive"

Open simplenotezy opened this issue 5 years ago • 2 comments

Is it possible to make the touch events less aggressive? It's easy to switch to next image by mistake on mobile, if you're just trying to move the image a bit - it's actually impossible unless you zoom in a bit.

Otherwise good job with this package - seems like the best one out there; expect I'd love if you could also deliver a "lite" version with only the most basic features.

simplenotezy avatar Feb 19 '20 13:02 simplenotezy

Sorry, viewer.js was not specifically designed for mobile before, you can make a issue to viewer.js. v-viewer is just an adapter on vue.

In this case, you may temporarily disable image moving:

options: {
  movable: false
}

mirari avatar Feb 19 '20 14:02 mirari

Thanks!

Sent with GitHawk

simplenotezy avatar Feb 19 '20 19:02 simplenotezy