lemeryfertitta / Climbdex

Search engine for training board climbs
https://climbdex.com
MIT License
42 stars 10 forks source link

Swipe gestures making pinch zooming difficult #53

Open lemeryfertitta opened 6 months ago

lemeryfertitta commented 6 months ago

Pinching to zoom (to see the climb better, as the holds are pretty small on a mobile screen) causes the prev/next swipe to register. I think some tweaking needs to be done to the swipe logic to avoid conflating with the pinch to zoom gesture

I think it would be useful to utilize a library for gestures, e.g. hammer.js

gardaholm commented 6 months ago

ah ok, will do some testing. Have forgotten about pinch2zoom here :) There is a setting for the minimum distance of the swipe, maybe this needs to be increased.