问题
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