Skip to content

feat(iOS, Tabs): add support for tabBarMinimizeBehavior #3011

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

Merged
merged 11 commits into from
Jul 22, 2025

Conversation

kligarski
Copy link
Contributor

@kligarski kligarski commented Jul 17, 2025

Description

Adds support for tabBarMinimizeBehavior.

Closes https://github.com/software-mansion/react-native-screens-labs/issues/178.

Moved from https://github.com/software-mansion/react-native-screens-labs/pull/214.

Changes

  • add support for tabBarMinimizeBehavior

Test code and steps to reproduce

Add tabBarMinimizeBehavior for BottomTabs component, e.g. onScrollDown and check behavior with ScrollView.

Checklist

  • Included code example that can be used to test this change
  • Ensured that CI passes

@kligarski
Copy link
Contributor Author

kligarski commented Jul 17, 2025

As for our discussion about possibility of using a macro, I tested it and it works. I created a ticket for it (https://github.com/software-mansion/react-native-screens-labs/issues/286) because it would probably be cleaner to do it in separate PR and refactor all usages of those checks.

@kligarski kligarski requested a review from kkafar July 17, 2025 11:37
Copy link
Contributor

@t0maboro t0maboro left a comment

Choose a reason for hiding this comment

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

overall looks good 👍

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 good!

I've created https://github.com/software-mansion/react-native-screens-labs/issues/305 with an issue report that concerns badge behaviour, but I don't think it is in scope of this ticket. Most likely this is a native bug, however we need to verify that.

@kligarski kligarski force-pushed the @kligarski/bottom-tabs-minimize-behavior branch from 320381d to 02813e7 Compare July 22, 2025 06:13
@kligarski kligarski force-pushed the @kligarski/bottom-tabs-minimize-behavior branch from cf6ee6a to 6b923a9 Compare July 22, 2025 06:29
@kligarski kligarski merged commit cd1b969 into main Jul 22, 2025
7 checks passed
@kligarski kligarski deleted the @kligarski/bottom-tabs-minimize-behavior branch July 22, 2025 06:41
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.

3 participants