You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I drag to select some items and then click one of them to initiate the drag then the item I clicked moves twice as fast as the other items and my cursor. Alternatively, if I just click and drag a single item (no multi-select) I observe the same behavior: the item moves twice as fast as my cursor. I am using your library's react integration in my next.js app.
I am able to fix the issue by setting reactStrictMode to false in my next.config.ts. However seeing as reactStrictMode: true is the general best practice I believe that it would be ideal if the library worked properly with it enabled.
Describe the bug
If I drag to select some items and then click one of them to initiate the drag then the item I clicked moves twice as fast as the other items and my cursor. Alternatively, if I just click and drag a single item (no multi-select) I observe the same behavior: the item moves twice as fast as my cursor. I am using your library's react integration in my next.js app.
I am able to fix the issue by setting
reactStrictMode
tofalse
in my next.config.ts. However seeing asreactStrictMode: true
is the general best practice I believe that it would be ideal if the library worked properly with it enabled.To Reproduce
Steps to reproduce the behavior:
reactStrictMode
is set totrue
in next.config.tsExpected behavior
Selected items all move at the rate that the cursor moves.
Code Example
Clone and run this repo:
https://github.com/herringlarry2/ReproDragBug
Screenshots
With Strict Mode On:
Screen.Recording.2025-01-05.at.10.21.42.PM.mov
With Strict Mode Off:
upload-bug-repro.mp4
The text was updated successfully, but these errors were encountered: