-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[BUG] Reordering randomly stuck #2101
Description
2. Describe the bug
Simple dnd for tabs reordering implemented based on the mantine framework and Reorder component from framer.
At some conditions tab does not return to its position and stuck half way after mouse release.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
4. Steps to reproduce
Steps to reproduce the behavior:
- Reorder tabs with different speed and direction. Release mouse button randomly.
- Tab does not return to its original place
Note: issue is flaky, it may not be reproduced from the first time. Need to try multiple times.
Note2: issue also reproducible with simple divs, but it much harder to achieve than with this tab component.
5. Expected behavior
Tab should return to its original position.
6. Video or screenshots

https://www.awesomescreenshot.com/video/16890983?key=a98190f65e1a774787d9b25f462637c5
7. Environment details
Chrome (Version 111.0.5563.146 (Official Build) (64-bit))
Chrome on iPad (latest versions)