react-ui-tree icon indicating copy to clipboard operation
react-ui-tree copied to clipboard

getting wrong mouse position if page is scrolled while dragging

Open hangy233 opened this issue 9 years ago • 1 comments

This can be reproduced in the example, resize your browser window and make it shorter than the tree. if you scroll the window when you are dragging a node. The node will go to a wrong position. Solutions could be stop drag and drop the node at where it is when start a scroll or count the scrollTop value in the drag handler.

hangy233 avatar Aug 22 '16 20:08 hangy233

made a pull request #37

hangy233 avatar Aug 22 '16 21:08 hangy233