-
Notifications
You must be signed in to change notification settings - Fork 496
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
Interactive elements & click on touch devices when dragging enabled #27
Comments
Ok, I've cleaned up the comments, and lets finally address this. With a recent series of patches that rewrote dragging initiation to be more responsive (get from What I want to do is cancel dragging initiation when finger or mouse is above any interactive element. For that, I need a list of interactive elements :) So, if I forgot something, tell me what I'm missing: Definitely cancel for:
Maybe disable for:
Also there will probably need to be an option that will extend this list with selectors. |
the A (link) element, perhaps? maybe its the way its supossed to work but i need to prevent the click when the gesture is a swipe up/down. any suggestions? |
Have you tried `src/sly.js' ? |
v1.2.0 landed. Sly now won't start dragging when initiated on an interactive element. By default, Sly recognizes Closing this for now. If there are more issues with this I'll reopen it. |
So I noticed that when dragging is enabled you lose the ability to enter an input field, or use a select field. Checkboxes do still work though.
I'm assuming this is to do with a prevent default call in the script.
Not sure if there is a way round it..?
The text was updated successfully, but these errors were encountered: