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

Auto scroll up doesn't work, auto scroll down works

Open sinanyaman95 opened this issue 3 years ago • 2 comments

BUG

I am using react-sortable-tree, and in the same page I have multiple react-sortable-tree with the same dnd-type. My height for the tree is dynamic, visibleNodeCount * 65. The issue is, auto scroll works when I am dragging down, but it doesn't work when I am dragging up.

Dragging Down

autoScrollDown

Dragging Up

autoScrollUp

sinanyaman95 avatar Mar 18 '21 12:03 sinanyaman95

Please can you post the code you used to get this to work !!

ajoslin103 avatar Mar 23 '21 22:03 ajoslin103

I coudln't get this to work :sob: If you talk about the styling, it is mainly css. Override .rst__nodeContent, .rst__rowWrapper classes

sinanyaman95 avatar Mar 24 '21 06:03 sinanyaman95