Please sign in to comment.
fix incorrect touch action pan direction
if i want to intercept/handle horizontal pans/swipes, i need `pan-y`, not `pan-x` (as touch-action determines which default actions the browser should handle - if i wanted to do my own horizontal pans/swipes, i DON'T want the browser to handle `pan-x`). the fact that this code seems to currently work regardless may be due to other logic in the script, like the part where `touch-action` is combined...
- Loading branch information...