I would like to know if there is any possible way to stop the motion of the FlatList even if the user is not touching the screen. I just want to make the implemention like Facebook does in the feed news, I am currently using onEndReach
in order to fetch more data, but if the user scroll really fast the motion keep going and going, that's why I need to stop the motion when the final is reached.
There is a property that handle the motion when the user is scrolling and it is pagingEnabled
which might help you on iOS version. But in my particular case it was a that in the FlatList there was a wrapper, and cause that weird behavior.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.