Skip to content
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

feat: introduce new prop labelMaxFontSizeMultiplier for BottomNavigation #3100

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

lukewalczak
Copy link
Member

Fixes: #3099

Summary

PR introduces new prop for BottomNavigation called labelMaxFontSizeMultiplier which specifies the largest possible scale a label font can reach in the similar way as rn text prop maxFontSizeMultipliers

Test plan

before after - labelMaxFontSizeMultiplier={2} after - labelMaxFontSizeMultiplier={1}
Zrzut ekranu 2022-02-23 o 22 16 52 Zrzut ekranu 2022-02-23 o 22 16 19 Zrzut ekranu 2022-02-23 o 22 16 27

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@callstack-bot
Copy link

Hey @lukewalczak, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@lukewalczak lukewalczak merged commit e21c49f into main Mar 23, 2022
@lukewalczak lukewalczak deleted the fix/add-label-max-font-size-multiplier branch March 23, 2022 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bottom Navigation: Labels are cut off when system font size is set to large
4 participants