React-sortable-hoc: drag item and let container scroll automatically?

Created on 4 May 2018  ·  3Comments  ·  Source: clauderic/react-sortable-hoc

If the container is scrollable , when I drag to the edge of container, can container scroll up or down automatically?

Most helpful comment

I found the method to do it

just like this
getContainer={() => document.getElementById('setting-right-panel')}
/>
good luck!

All 3 comments

same question
I found the method to do it

just like this
getContainer={() => document.getElementById('setting-right-panel')}
/>

facing this issue

I found the method to do it

just like this
getContainer={() => document.getElementById('setting-right-panel')}
/>
good luck!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ccharliemagne picture ccharliemagne  ·  3Comments

suhaotian picture suhaotian  ·  3Comments

ncammarata picture ncammarata  ·  4Comments

dlee picture dlee  ·  4Comments

ianmstew picture ianmstew  ·  3Comments