-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Not able to drag and drop on mobile using React Portal #582
Comments
react-modal
react-modal
We'll track as a part of #567 |
Here is an independent example that shows of the behaviour: https://codesandbox.io/s/nr75vkklnm This example does not use Here is an example that uses a React.Portal but it shifts the component into a component before a touch start. That works fine. https://codesandbox.io/s/v54x54vp5 I will create an issue on the React project to track this. Unfortunately given that this issue is with React.Portal itself we are unable to action this directly |
React issue created: facebook/react#13113 |
I'll update the docs to let people know about this issue |
This is surpising as I thought I tested using portals on mobile... very confusing. Oh well, I am able to reproduce it outside of this library so for now we cannot really do too much :( |
I have created a warning in the docs: #583 |
This is also caused by the removing of the existing node and re-creating of one. It looks like there could be a workaround which I will explore: facebook/react#13113 (comment) |
Hello, |
i have not digged into this one yet |
Any chance to use this solution facebook/react#13113 (comment) ? |
This might be fixed as a part of our event changes for #1293 |
I am looking into this as a part of #1293 |
Awesome |
Shipping in 12.0 #1317 |
Fixed in |
Bug or feature request?
Bug
Expected behavior
To be able to drag and drop items on mobile.
Actual behavior
The items are marked as draggable, but can't be dragged.
Steps to reproduce
Go to https://codesandbox.io/s/3465m7xmw6 and open mobile emulation.
What version of
React
are you using?16.3
What version of
react-beautiful-dnd
are you running?7.1.3
What browser are you using?
Chrome
The text was updated successfully, but these errors were encountered: