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

[documentation] Touch-hold .prevent.stop #3661

Closed
mesqueeb opened this issue Mar 24, 2019 · 1 comment
Closed

[documentation] Touch-hold .prevent.stop #3661

mesqueeb opened this issue Mar 24, 2019 · 1 comment

Comments

@mesqueeb
Copy link
Contributor

mesqueeb commented Mar 24, 2019

In the Touch-hold documentation at the bottom: API

At "modifiers" it only says mouse, but if we're able to use .prevent.stop as well, I think it might be really helpful if they are listed there as well!

If we are NOT able to use .prevent.stop, i'd love to ask this to be added as a new feature.

@rstoenescu
Copy link
Member

If we add prevent and stop then user won't be able to select text. It's pretty complicated to explain all the reasoning (takes pages), but regardless, if you need it you can evt.preventDefault() and evt.stopPropagation() yourself in the handler, at the right time.

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

2 participants