Skip to content

🚨 CRITICAL BUG REPORT: React Navigation Bottom Tabs Rendering Multiple Tab Components Simultaneously #12806

@adey69

Description

@adey69

Current behavior

React Navigation bottom tabs are incorrectly rendering multiple tab components simultaneously, causing visual layering issues where elements from inactive tabs appear behind active tabs.

Environment
React Native Version: 0.80.1
React Navigation Bottom Tabs: ^7.4.2
React Navigation Native: ^7.1.14
React Navigation Stack: ^7.4.2
Platform: iOS
Node Version: >=18

I have created a repo to reproduce the issue but it's not exactly producing it the same way as shown in images. Instead, the element inspector shows the inactive tab's components when trying to select an element on the first tab.

Image Image

Expected behavior

The inactive tab's component shouldn't be visible with transparent background on active tab. Neither should the inactive tab's components should be shown or selected in element inspector.

Reproduction

https://github.com/adey69/bottom-tabs-render-issue

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

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

Environment

I've removed the packages that I don't use

package version
@react-navigation/native 7.1.18
@react-navigation/bottom-tabs 7.5.0
@react-navigation/material-top-tabs 7.3.9
@react-navigation/stack 7.5.0
react-native-screens 4.18.0
react-native-safe-area-context 5.6.1
react-native-gesture-handler 2.29.0
react-native-reanimated 4.1.3
react-native 0.80.1
node 22.16.0
yarn 1.22.22

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions