quasar icon indicating copy to clipboard operation
quasar copied to clipboard

Detect multiple touch events

Open whoacowboy opened this issue 5 years ago • 7 comments

I need need to track multiple touch events mostly for pinch and zoom, but also for two finger swipe and movement.

Describe the solution you'd like This is the current repo I have been using. I have forked it because they have stopped maintaining it. I asked to take it over, but they aren't interested. https://github.com/zingchart/zingtouch

Describe alternatives you've considered See above.

Additional context Nope

whoacowboy avatar Feb 07 '20 18:02 whoacowboy

And what is the feature request?

pdanpdan avatar Feb 08 '20 17:02 pdanpdan

@pdanpdan To detect multiple touch events on the following directives. Currently only the first touch is detected.

https://quasar.dev/vue-directives/touch-hold https://quasar.dev/vue-directives/touch-pan https://quasar.dev/vue-directives/touch-swipe

If you could add a pinch detection, that would be great as well.

whoacowboy avatar Feb 10 '20 18:02 whoacowboy

This could be a welcome addition. Saves having to go for an external dependency for image galleries because of the missing pinch-zoom support when viewing via QCarousel or QImg components

jagged3dge avatar Oct 07 '20 07:10 jagged3dge

Any update on this perhaps?

Codebreaker101 avatar Sep 29 '21 20:09 Codebreaker101

I'm just bringing up the issue after three years. I would also welcome a pinch-zoom in/out detection directive built into the framework.

cimpok avatar Oct 31 '24 12:10 cimpok

@cimpok For what it's worth, I have moved over to mjolnir.js. I like it well enough. It can be a little finicky if you are watching multiple events but we have been able to make it work.

whoacowboy avatar Oct 31 '24 12:10 whoacowboy

@whoacowboy Thank you, James. Exactly what I was looking for, even has the right example (imageviewer) , I will use it with SVG images (generated with SkiaSharp on my api server)

cimpok avatar Oct 31 '24 14:10 cimpok