PedroBern / react-native-collapsible-tab-view

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

Bug when using lazy mode with react-native-collapsible-tab-view version 5.0.0-rc.13 #308

Closed timothygorer closed 5 months ago

timothygorer commented 1 year ago

I am trying to use the lazy property when declaring <Tabs.Container lazy ...></Tabs.Container>. Only the first tab is rendering, and all other tabs are completely blank. The issue goes away when I remove "lazy". I am using a Tabs.FlatList in each of the tabs. The lazy property worked when I was on version 4.5.2 of the react-native-collapsible-tab-view. Would appreciate any help in resolving this matter.

timothygorer commented 1 year ago

@PedroBern is this a known issue?

timothygorer commented 1 year ago

bump, anyone?

timothygorer commented 1 year ago

@alexpchin @andreialecu is this a known issue?

premhowli-buyhatke commented 1 year ago

using 6.1.4 version of app. We are seeing that if we use lazy, sometimes it does not load the component of a particular tab infinitely, and navigating through routes also could cure sometimes only.

FabianDean commented 5 months ago

I get something like this occasionally on the second tab only of many tabs.

Swiping to it from the first shows nothing, but going to the third tab (which renders) then coming back to the second seems to resolve it.

Any developments on this issue?

andreialecu commented 5 months ago

394 might fix this, I released it as 7.0.1-beta.0 on npm. Please help test it for unwanted side effects and report back. Thanks!