question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] Support for touch events/gestures

See original GitHub issue

Web 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

  1. Two-finger pinch to zoom in/out on a particular element (e.g., canvas in Azure ML designer)
  2. Verify that two-finger left/right swipe is not leading to go back/forward

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:43
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
olexandr13commented, Feb 4, 2021

+swipe

3reactions
egreen0commented, Mar 4, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found