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

longpress DOM event #9454

Closed
jpzwarte opened this issue Jun 22, 2023 · 1 comment
Closed

longpress DOM event #9454

jpzwarte opened this issue Jun 22, 2023 · 1 comment

Comments

@jpzwarte
Copy link

So I just saw that in iOS17 you can change the duration of a "long press" event. See https://9to5mac.com/2023/06/22/ios-17-fast-long-press-menu/

Why isn't there a standardised longpress DOM event? Just quickly searching the issues in this repo did not turn up any existing ones related to this.

Especially for mobile web apps, having a DOM event can be useful. On iOS at least, long press is a common UX technique.

@smaug----
Copy link

UI events aren't defined in the HTML spec.
https://w3c.github.io/uievents/ would be a better place, or perhaps pointer events.

And one can often use contextmenu event to handle longpress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants