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

When using drag handles, mobile touches are prevented inside the item #31

Open
ebondioli opened this issue Mar 12, 2024 · 0 comments
Open

Comments

@ebondioli
Copy link

If you have interactive elements inside the draggable items, when you enable the dragHandle option, touch events on mobile are lost on the interactive elements.

You can find a simple reproduction here.

It looks like touch events are stopped if the element doesn't have the dragHandle class, so a quick fix for this is adding the dragHandle class to the interactive elements but it defeats the purpose of using a drag handle.

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