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

Support touch devices by changing to pointer events #125

Open
KristofferStrube opened this issue Jun 30, 2022 · 0 comments
Open

Support touch devices by changing to pointer events #125

KristofferStrube opened this issue Jun 30, 2022 · 0 comments

Comments

@KristofferStrube
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When using touch devices the context menu can't be hidden/closed by pressing outside the context menu as that uses events specific to a mouse.

Describe the solution you'd like
The places that mouse events are explicitly used we can change to using pointer-events instead. pointer-events are an event type that supports both mouses, touch input, and other pointer types and should not change the existing behaviour for mouse usage.

Additional context
I would like to make a PR for this.

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

No branches or pull requests

1 participant