interactionsVercel
Clean Drag Interactions
MUST
MUST: During drag, disable text selection and set `inert` on dragged element/containers
Disable text selection and apply inert during drag operations
Bad
Good
Why it matters
When dragging elements, prevent text selection and disable hover/interaction states on other elements using the inert attribute. This prevents confusing visual states where content appears selected or hovered while being dragged.
References