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

Drag and Drop support for touch enabled devices #64

Open
venugopalkathavate opened this issue Nov 27, 2017 · 0 comments
Open

Drag and Drop support for touch enabled devices #64

venugopalkathavate opened this issue Nov 27, 2017 · 0 comments

Comments

@venugopalkathavate
Copy link

I am trying to add DnD support for touch enabled devices and it seems to be behaving weirdly. While dragging seems to start with touchmove event and stops abruptly. But if you pickup from the same position and move, then things seem to work. Here is the GIF file just to show that.
react-ui-tree-dnd-issue

Observations so far:

  • Seems react is somehow not happy with tree being modified with tree.move() inside drag() method.
  • Seems react is somehow not happy with setState().
  • When drag starts and suddenly stops, we see the page scrolls so guessing the event has stopped midway by react but not sure.

All my changes are in this repo https://github.com/venugopalkathavate/react-ui-tree.git if you want to check. NOTE this can be reproduced with Chrome dev tools.

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

No branches or pull requests

1 participant