-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with react-dnd 4+ #36
Comments
Also having issues with this. |
Any updates on this one? Did anyone got it working with 4 or now 5? running in getMonitor errors |
I haven't tried it yet, but I just looked through all the forks and found this one which adds support to later react versions: https://github.com/eaglus/react-dnd-scrollzone |
vote for this PR: #38 |
Thanks for the updates @eaglus .It looks like the PR got approved in december |
Since I couldn't find a solution out of the box, and some solutions don't work with the latest react-dnd version (^9.4.0), I came up with a solution myself: https://gist.github.com/orlandovallejos/ed9c79dd67e96c25cfcc8f1008df9489 I hope it helps someone else. |
Try this one https://github.com/TechStark/react-dnd-scrolling which works with |
react-dnd-scrollzone doesn't work with the latest version of react-dnd.
I suspect it is due to the changes in the react context api ( i.e. #34 ) and that react-dnd doesn't expose a way to see if the the drag is occurring ( react-dnd/react-dnd#583 )
The text was updated successfully, but these errors were encountered: