Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to determine when a tap is impossible #124

Open
RByers opened this issue Jul 29, 2016 · 1 comment
Open

How to determine when a tap is impossible #124

RByers opened this issue Jul 29, 2016 · 1 comment
Labels

Comments

@RByers
Copy link
Contributor

RByers commented Jul 29, 2016

Some sites rely on the first touchmove event as an indicator that a tap is no longer possible and scrolling is about to begin. Eg. to clear a depressed state on a button from JS, or to drive custom scrolling without triggering accidentally on tap.

I see that Edge sends pointermove events during a tap when there is a little wiggle. This must mean that pointer-event-driven carousels would sometimes wiggle when tapped. Today developers could only approximate a solution by doing their own slop suppression using some distance heuristic.

Depending on the outcome of #123, we could perhaps define an event that fires when :active state is cleared (or a way to query whether an element is currently :active that's better that getComputedStyle).

@patrickhlauke
Copy link
Member

patrickhlauke commented Aug 19, 2020

Discussed in today's PEWG call https://www.w3.org/2020/08/19-pointerevents-minutes.html. leaving this open for now to see what #123 outcome is.

@patrickhlauke patrickhlauke added future and removed v3 labels Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants