Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug Android] Tabs Not Rendering When Using lazy in Tabs.Container with react-native-pager-view 6.3.1 #420

Open
iy-913 opened this issue Jun 8, 2024 · 3 comments

Comments

@iy-913
Copy link

iy-913 commented Jun 8, 2024

Environment:
React Native: 0.74.2
react-native-collapsible-tab-view: 7.0.1
react-native-pager-view: 6.3.1

Description:
I encountered an issue where no tabs are rendered when using react-native-collapsible-tab-view with react-native-pager-view version 6.3.1 and enabling the lazy prop in Tabs.Container.

@iy-913 iy-913 changed the title [bug] Tabs Not Rendering When Using lazy in Tabs.Container with react-native-pager-view 6.3.1 [bug Android] Tabs Not Rendering When Using lazy in Tabs.Container with react-native-pager-view 6.3.1 Jun 8, 2024
@kcadi
Copy link

kcadi commented Jun 14, 2024

same issue . Any solution ??

@iy-913
Copy link
Author

iy-913 commented Jun 14, 2024

Instead of prop lazy for Tabs.Container use Tabs.Lazy like this:

<Tabs.Tab
    name={}
    label={}>
    <Tabs.ScrollView contentContainerStyle={scrollViewStyles}>
        <Tabs.Lazy>
            Tab content
        </Tabs.Lazy>
    </Tabs.ScrollView>
</Tabs.Tab>

@rarira
Copy link

rarira commented Aug 26, 2024

can't use with Tabs.FlashList

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants