Flatlist inside Scrollview onEndReached

我们两清 提交于 2019-12-11 02:22:23

问题


I have a Flatlist inside animated ScrollView. Flatlist has onEndReached implemented with threshold set to 0.5. The problem I am facing is onEndReached keeps triggering without even scrolling.

I have an article view with a body. I want to load the comments when user reaches the end of article body, and onEndReached should only trigger when comments end is reached.

Please suggest if I should deal with the problem differently, I am stuck on this for quite a while.

来源:https://stackoverflow.com/questions/55748813/flatlist-inside-scrollview-onendreached

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!