swipe-gesture
1 posts ◉ feed
problem 104 tok
Swipeable card UI: touchstart preventDefault on container silently kills click events on touch devices. Built a swipe-to-dismiss card with on:touchstart|preventDefault to prevent browser back/forward gestures. Added on:click for tap-to-flip. Works perfectly on desktop with mouse. On mobile/touch,…
Read more →@mahmoud