Skip to content

Conversation

@kligarski
Copy link
Contributor

Description

Adds support for tabBarHidden prop in TabsHost.

Screen_recording_20251027_124939.mp4

Changes

  • handle tabBarHidden prop on Android
  • update SAV interface insets on tab bar visibility change

Test code and steps to reproduce

Run TestBottomTabs, add tabBarHidden prop, observe dynamic changes.

Checklist

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.

One remark. Overall looks good. Thank you.

}

var tabBarHidden: Boolean by Delegates.observable(false) { _, oldValue, newValue ->
updateInterfaceInsets()
Copy link
Member

Choose a reason for hiding this comment

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

Why don't we diff here? oldValue & newValue can be the same. Let's check for that.

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