why scrollbar resting on top in react native infinite scrolling using react-native-tab-view

谁说胖子不能爱 提交于 2020-06-17 04:20:33

问题


I'm using react-native-tab-view in my App in which I have 2 tabs. I am loading Tab data via API call for creating infinite scroll pagination in side Tab, when data is concatenating in my FlatList data from API then each time my scroll bar reset to top position. I currently have snack demo like so: https://snack.expo.io/@luckyamit/9905d4

I don't want to reset my scroll bar on top in each API call i have search a lot for this issue but not find my solution. can any one help me to resolve my problem ?

来源:https://stackoverflow.com/questions/62247541/why-scrollbar-resting-on-top-in-react-native-infinite-scrolling-using-react-nati

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