drag-and-drop icon indicating copy to clipboard operation
drag-and-drop copied to clipboard

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

Open ebondioli opened this issue 11 months ago • 0 comments

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.

ebondioli avatar Mar 12 '24 13:03 ebondioli