-
Notifications
You must be signed in to change notification settings - Fork 255
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
CardField font size scales with system font size on Android & iOS #911
Labels
enhancement
New feature or request
Comments
saf94
changed the title
CardField font size scales with system font size
CardField font size scales with system font size on Android
Apr 28, 2022
Can you provide some sample code to reproduce this? If you can, I will close #773 in favor of this issue |
This is the way we're rendering the CardField
Is that what you need? I think it pretty much would happen on any CardField component if the system font size is large enough |
charliecruzan-stripe
added
enhancement
New feature or request
and removed
reproduce
Try and reproduce the issue
labels
Jul 11, 2022
As a workaround, the scaling can be "disabled" using react-native-device-info by setting fontSize: |
charliecruzan-stripe
changed the title
CardField font size scales with system font size on Android
CardField font size scales with system font size on Android & iOS
Dec 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The font size of the CardField seems to scale with the system font size on Android. A few of our users are having issues with overlapping text in the fields because they have set their system font to be bigger than standard. I'm not sure if this is intended or not, but is there a way to disable the font scaling? As none of the rest of our app font scales, and i dont think this happens on iOS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Maybe it shouldn't scale or there could be an option to disable scaling?
Screenshots
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: