PedroBern / react-native-collapsible-tab-view

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

How can I save the position when switching between tabs? #302

Open timothygorer opened 1 year ago

timothygorer commented 1 year ago

I am using react-native-collapsible-tab-view version 4.5.2 with a Tab.FlatList in each tab. I am having an issue where when I switch tabs and then go back to the previous tab, the FlatList is not keeping its position. Instead, the position of the previous FlatList when I go back to it is being set to the position of the current FlatList. I am not sure why this is happening. Any advice?

andreialecu commented 1 year ago

I suggest trying 5.0.0@rc. It's been rewritten and should solve a lot of issues.

alifandapl commented 1 year ago

I suggest trying 5.0.0@rc. It's been rewritten and should solve a lot of issues.

Hi, currently I'm using 5.0.0-rc.13, works fine on android but ios. Any other suggestion?