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
HTML5 Backend breaks all inputs text drag #1552
Comments
romeovs
changed the title
HTML5 Backend breaks all inputs
HTML5 Backend breaks all inputs text drag
Sep 25, 2019
same problem ,has someone attention on this? |
+1 |
您的邮件我已收到!
|
https://github.com/react-dnd/react-dnd/blob/main/packages/backend-html5/src/types.ts Set the rootElement of the drag area may fix this. Default it covers all document. |
This was referenced Sep 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Using the
react-dnd-html5-backend
breaks site-wide text drag-and-drop into inputs, even ones that are not managed byreact-dnd
.This happens to all inputs event ones that are not children of
DndProvider
and even ones that are not managed by React.I'm not sure what the name of this default browser feature is but here is a gif:
Reproduction
Live Reproduction
Steps to reproduce the behavior:
Expected behavior
The inputs should still accept dropped text
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: