Open
Description
2. Describe the bug
When using an element with drag and dragConstraints enabled, the element gets stuck if it is quickly clicked while moving back inside its constraints after being dragged outside the defined boundaries.
This can also happen when not using dragConstraints but instead animating the element onDragEnd.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
example without dragConstraints
4. Steps to reproduce
Steps to reproduce the behavior:
- Drag the Element outside of its contraints
- Release the element and quickly click it again
- Element is now stuck
5. Expected behavior
The element should continue moving inside its constraints after the mouse is released
6. Video or screenshots
Bug.mov
7. Environment details
Chrome 125, macOS 14.5