react-native-sortable-listview
react-native-sortable-listview copied to clipboard
On iOS, scrolling while sorting does not work well.
On iOS, when trying to drag an item from the middle of a long list to the top or bottom, the list does not scroll, or scrolls extremely slowly, so that you can't get it where you want. Android works better.
This is demonstrated in the Sortable example app.
This issue was originally documented in Issue #64, which is closed now.
v0.2.6 I have same issue.
set limitScrolling
as a workaround
I have same issue. limitScrolling
didnt work for me.
FWIW we've just encountered the same issue and we noticed that passing animated: false
to scrollTo
here made things a little better. I believe the issue is because we're calling scrollTo
several times without giving time to actually do the scrolling, (since it's animated, it should take a while until it gets to a certain scrolling speed, but then we have already issued a new scrollTo
command, halting the previous one).
I'm not sure this is the same issue described here, or if that's actually the cause, but that was my experience.
Hope it helps!
Does anyone know if this is being fixed? I tried out the suggestion by @duailibe and it made a big difference. Is this just a temporary fix tho? Is it good enough to create a pull request for?
I created this https://github.com/deanmcpherson/react-native-sortable-listview/pull/117 I have no idea if they will take it, because it i do not think it is a long term solution, but I figured it couldnt hurt and did not take very long to do.
v0.2.6 I have same issue too.
@cx5168 https://github.com/deanmcpherson/react-native-sortable-listview#unreleased
can you give disableAnimatedScrolling
a try?
@nihgwu @matuszeg Thank you very much. I used disableAnimatedScrolling(set it to true) to solve the problem.