Open
Description
What is happening?
I'm able to drag element in the non-allowed direction after mouseup
event.
Dragging is only allowed for X
axis in this example on story book, it works but only until mouse key is not lifted up.
Check this video.
Screencast_20250301_081510.webm
How to reproduce?
- Go to this page.
- Try dragging the element in non-allowed direction.
- Lift mouse key up after dragging.
- It should get dragged to other axis as well.
What should be happening?
As per the docs, it should only be draggable in one direction.
System details
OS: Arch Linux, KDE plasma
Browser: Chrome, Firefox
Code sample: https://github.com/bokuweb/react-rnd/blob/master/stories/dragAxis/dragAxisX.tsx
Metadata
Metadata
Assignees
Labels
No labels