You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(touch): defer tap-select so swipe-to-nav isn't hijacked
On touch, a tap on an unselected v-drag element used to immediately select it
and `stopPropagation`, so a tap+slide became a body-drag from the first touch
and swipe-to-nav never reached `useSwipeControls`. Defer the decision: track
pointer movement and only select on pointerup if movement stayed under the
threshold (a true tap); otherwise no-op and let the swipe handler take the
gesture. No `stopPropagation`/`preventDefault` on the deferred path so events
bubble and the browser's own scroll-degrades-to-tap still works.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments