[Feature] Support for touch events/gestures
See original GitHub issueWeb apps running on touch devices (e.g, mobile and Surface) rely on touch gestures like swiping and pinching to zoom. While page.dispatchEvent can manufacture synthetic touch points, having a simpler API would improve the dev experience.
Scenarios
- Two-finger pinch to zoom in/out on a particular element (e.g., canvas in Azure ML designer)
- Verify that two-finger left/right swipe is not leading to go back/forward
Issue Analytics
- State:
- Created 3 years ago
- Reactions:43
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Using Touch Events - Web APIs | MDN
The touch events interfaces support application specific single and multi-touch interactions such as a two-finger gesture.
Read more >Gestures and Touch Events | CodePath Android Cliffnotes
Gesture recognition and handling touch events is an important part of developing user interactions. Handling standard events such as clicks, long clicks, ...
Read more >Use touch gestures - Android Developers
Android provides a variety of APIs to help you create and detect gestures. Although your app should not depend on touch gestures for...
Read more >"Touch Events" | Can I use... Support tables for HTML5, CSS3 ...
touch -action is a CSS property that controls filtering of gesture events, providing developers with a declarative mechanism to selectively disable ...
Read more >Touch Gestures - What Web Can Do Today
Unfortunately, the support is twofold - either via touch events like touchstart that were first introduced by Apple and standardized later as a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

+swipe
Having the ability to swipe, dragto, or even replicate the mouse class for touchscreen would be great. If I could use the touchscreen class to move, press down, move, and unpress, it would take care of a lot of issues that I’m currently having with dragging elements.