react-dnd-scrolling icon indicating copy to clipboard operation
react-dnd-scrolling copied to clipboard

Scrolling up auto scrolls to top

Open Joshandrews43 opened this issue 4 years ago • 2 comments

Not sure what's causing this, any ideas? BTW loom cuts out the element when its being dragged, but you can tell it scrolls to top.

https://www.loom.com/share/db39ecc5bf164b98aea4f67b0c2cc94c

Joshandrews43 avatar Aug 11 '21 22:08 Joshandrews43

Not sure what's the issue. Looks like expected. If you are dragging the element and mouse cursor is at the top of the scroll container, then scroll bar will scroll toward top.

ttt43ttt avatar Aug 12 '21 15:08 ttt43ttt

@Joshandrews43 Did you ever resolve this? Different scenario for me, but my component also scrolls to the top right when I drop at the end of a drag.

Edit: Never mind - it scrolls to top on any state change...

yonihorwitz avatar Dec 13 '21 19:12 yonihorwitz