Skip to content

Conversation

@kligarski
Copy link
Contributor

@kligarski kligarski commented Oct 27, 2025

Description

Adds tabBarHidden prop to BottomTabsHostComponentView.

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-10-27.at.11.30.21.mov

Important

  1. If we hide the tab bar from the beginning and then show it later, appearance configuration doesn't seem to work on selected tab until you change the tab and go back. This seems to be a native bug as under certain circumstances it is reproducible in bare UIKit app but we should investigate this further. I added a ticket on our board: https://github.com/software-mansion/react-native-screens-labs/issues/516.

  2. Animating tab bar visibility change is also possible starting from iOS 18. I decided not to implement this now as we need to prevent initial animation/think of different API for visibility changes. More details: https://github.com/software-mansion/react-native-screens-labs/issues/517.

Changes

  • add tabBarHidden prop

Test code and steps to reproduce

Run TestBottomTabs, add tabBarHidden prop, observe dynamic changes.

Checklist

@kligarski kligarski marked this pull request as ready for review October 27, 2025 10:40
Copy link
Member

@kkafar kkafar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks G, thank you

@kligarski kligarski merged commit 43e819c into main Nov 3, 2025
9 checks passed
@kligarski kligarski deleted the @kligarski/ios-hide-tab-bar branch November 3, 2025 06:28
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

Successfully merging this pull request may close these issues.

4 participants