You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.Observations so far:
tree.move()
insidedrag()
method.setState()
.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.
The text was updated successfully, but these errors were encountered: