lytc / react-sortly

React nested sortable component
https://lytc.github.io/react-sortly
103 stars 23 forks source link

I really miss ability to scroll while dragging #25

Open MartinN3 opened 4 years ago

MartinN3 commented 4 years ago

Current behaviour: Selecting any element disables scrolling ability. Only possibility now is to find that sweet spot on bottom and top of the screen but thats sometimes very hard/unusable for example with few nested set items dragging

Expected behaviour: Ability to use scroll or up/down arrow while dragging.

My solution: i was looking around for this feature and only thread i found was https://github.com/react-dnd/react-dnd/issues/553

Im lookin on to that.

MartinN3 commented 4 years ago

Scroll with mouse is probably imposible for now, but you can solve issue by dragging items onto window scrollbar and it works kinda smoothly, can be closed for now.

kwiss commented 4 years ago

i was looking around for this feature and only thread i found was react-dnd/react-dnd#553

which solution did you use ?

MartinN3 commented 4 years ago

In the end I just rely on native chrome functionality, as stated before.