I am trying to detect when user reaches bottom of Tabs.ScrollView so then I can load more data for pagination. It looks like the onScroll of Tabs.ScrollView is not firing. I am not quite sure why, but I suspect it has to do with the react-native-collapsible-tab-view containing another ScrollView inside it. I need to use Tabs.ScrollView because the refreshControl property works with it, but refreshControl doesn't work with Tabs.FlatList. I have seen the hook useCurrentTabScrollY() mentioned here before, but I am not sure how to correctly use this hook to detect if user has reached the bottom of the Tabs.ScrollView. Any advice would be highly appreciated.
I am trying to detect when user reaches bottom of Tabs.ScrollView so then I can load more data for pagination. It looks like the onScroll of Tabs.ScrollView is not firing. I am not quite sure why, but I suspect it has to do with the react-native-collapsible-tab-view containing another ScrollView inside it. I need to use Tabs.ScrollView because the refreshControl property works with it, but refreshControl doesn't work with Tabs.FlatList. I have seen the hook useCurrentTabScrollY() mentioned here before, but I am not sure how to correctly use this hook to detect if user has reached the bottom of the Tabs.ScrollView. Any advice would be highly appreciated.