react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.3k stars 4.97k forks source link

Sometimes duplicate tab bar labels appear in bottom tabs #11909

Open nitish1099 opened 1 month ago

nitish1099 commented 1 month ago

Current behavior

When I switch between tabs randomly duplicate tab bar label shows up

Expected behavior

Only 1 tab bar label should be there

image

Reproduction

https://snack.expo.dev/@nitishspacebox/navigator-code

Platform

Packages

Environment

package version
@react-navigation/native 6.1.16
@react-navigation/bottom-tabs 6.5.11
@react-navigation/drawer
@react-navigation/material-top-tabs
@react-navigation/stack
@react-navigation/native-stack 6.9.25
react-native-safe-area-context 4.6.3
react-native-screens 3.22.0
react-native-gesture-handler
react-native-reanimated
react-native-tab-view
react-native-pager-view
react-native 0.72.10
expo 49.0.8
node
npm or yarn
github-actions[bot] commented 1 month ago

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

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

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

Can you verify that the issue still exists after upgrading to the latest versions of these packages?