PedroBern / react-native-collapsible-tab-view

A cross-platform Collapsible Tab View component for React Native
MIT License
827 stars 160 forks source link

onScroll and some other props of FlatList are not available #281

Closed linweiboy closed 1 year ago

linweiboy commented 1 year ago

I need to monitor the value of scrollY in real time and then implement some functions, but the onScroll method is invalid. I need your help, thanks

andreialecu commented 1 year ago

You can get this done with v5 (install it using the @rc tag)

See: https://github.com/PedroBern/react-native-collapsible-tab-view/pull/265

LinceMathew commented 1 year ago

its showing an error undefined is not an object(evaluating tabNames.value.indexOf) in line number 179 ,hooks.tsx

linweiboy commented 1 year ago

Thanks.But I found a new problem, the head does not slide along with the iOS real device test, the whole head and the tab bar are suspended together to the top

nica0012 commented 10 months ago

Any update on using onScroll in a class component? I too need to track the scroll Y value of the tabs.flastlist