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 drag in browser DevTools responsive mode
Closes#403
Two fixes:
1. Always register touch event listeners instead of gating behind
isTouchDevice (which is evaluated once at import time and misses
DevTools touch simulation toggled after page load).
2. Guard preventDefault() with e.cancelable check to avoid errors
when the browser marks simulated touch events as non-cancelable.
0 commit comments