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

Bottom tab navigation only works for few seconds when refresh then it doesn't work #11965

Closed
4 of 11 tasks
Yawan-1 opened this issue Apr 27, 2024 · 3 comments
Closed
4 of 11 tasks

Comments

@Yawan-1
Copy link

Yawan-1 commented Apr 27, 2024

Current behavior

I am trying to implement bottom tabs in my react-native created through expo so I have add tabs bar into

    <NavigationContainer>
      <Tab.Navigator>
        <Tab.Screen name="Home" component={Home} />
        <Tab.Screen name="Settings" component={Settings} />
      </Tab.Navigator>
    </NavigationContainer>

But It only works sometimes or when I newly refresh/reload the app in my real device (In Expo) and then It doesn't click on buttons or change tabs/page.

Expected behavior

It should work or change tabs when I click on bottom tab from one another. But It just freezes after few seconds.

Reproduction

https://snack.expo.dev/E3v5AFG1lJVJxjRF5ZQyR

Platform

  • Android
  • Windows
  • iOS
  • Web
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-tab-view

Environment

  • [] I've removed the packages that I don't use
package version
@react-navigation/native 6.1.17
@react-navigation/bottom-tabs 6.5.20
@react-navigation/native-stack 6.9.26
react-native-safe-area-context 4.8.2
react-navigation/native 6.1.17
react-native-screens 3.29.0
react-navigation/drawer 6.6.15
react-native 0.73.6
expo 50.0.14
node 20.12.1
npm or yarn 10.5.2
Copy link

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/native
  • @react-navigation/bottom-tabs

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

Copy link

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/native
  • @react-navigation/bottom-tabs
  • @react-navigation/drawer

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

Copy link

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/drawer

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

@Yawan-1 Yawan-1 closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant