Skip to content
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

Can't drag multiple times in 15.x release #3378

Closed
dmbarry86 opened this issue Feb 6, 2022 · 1 comment · Fixed by #3379
Closed

Can't drag multiple times in 15.x release #3378

dmbarry86 opened this issue Feb 6, 2022 · 1 comment · Fixed by #3379

Comments

@dmbarry86
Copy link

Describe the bug
Since 15.x release it seems that I can no longer drag an item more than once. Only the first drag works. Subsequent drags are not enabled. Issue appears to be in react-dnd-html5-backend and the last working version was 14.1.0. I initially reported this issue in #3187 but I"m unsure if it's related to that and I think it definitely deserves it's own issue now.

Reproduction

You can see the issue in the chess example I have below on codesandbox. With 15.x of react-dnd-html5-backend dependency you can only move the chess piece once. If you change back to 14.1.0 you will be able to move the chess piece multiple times.

https://codesandbox.io/s/you-only-drag-once-9iszg

Screen.Recording.2022-02-06.at.13.57.06.mov

Expected behavior
Able to drag and drop items more than once.

@dmbarry86
Copy link
Author

Oh by the way, it also appears your official chessboard example on codesandbox linked from the doc is broken. I had to remove .js file extensions to get it working.

https://codesandbox.io/s/github/react-dnd/react-dnd/tree/gh-pages/examples_js/00-chessboard?from-embed

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant