Skip to content

Add support for React Native's maxFontSizeMultiplier Text prop #1200

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbeca
Copy link
Contributor

@sbeca sbeca commented Apr 22, 2020

This PR adds support for React Native's maxFontSizeMultiplier Text prop, which I need for some work that I'm doing.

ReactXP already has support for the allowFontScaling Text prop and these two props would be often used together so I feel like having them both available in ReactXP makes sense.

@fbartho fbartho added this to the 2.1.0 milestone Aug 6, 2020
@fbartho
Copy link
Contributor

fbartho commented Aug 6, 2020

@sbeca -- I know this PR has lingered a little bit since you made it, are there any additional tweaks you want to make before I review this? I'm looking to make a release in Early September!

@sbeca
Copy link
Contributor Author

sbeca commented Aug 10, 2020

Hi @fbartho, this PR should still be good to review and add. I have used this code within an app using a fork and it works well.

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.

font scale: setMaxContentSizeMultiplier doesn't work for RN.Text and RN.TextInput
2 participants