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

On iPhone 6 Plus/6s Plus/7 Plus the Zoom options affects font of text, and allowFontScaling doesn't work #15386

Closed
vmacavero opened this issue Aug 6, 2017 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@vmacavero
Copy link

Is this a bug report?

Yes, sort of, anyway something we should clarify

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native -v:
    react-native-cli: 1.2.0
    react-native: 0.46.4

  2. node -v:
    v6.9.1

  3. npm -v:
    4.0.5

Then, specify:

  • Target Platform:
    iOS

  • Development Operating System:
    macOS Sierra 10.12.6

  • Build tools:
    Xcode

Steps to Reproduce

(Write your steps here:)

  1. Create a simple app with fixed font, something like

https://snack.expo.io/ry7LNPVv-

Expected Behavior

the font should be fixed

Actual Behavior

the font is bigger than expected

http://imgur.com/a/BxwWW

http://imgur.com/a/BxwWW

I know the problem is caused by setting Zoom in iphone Plus family by setting Display Zoom settings to "Zoomed" instead of "Standard"

Reproducible Demo

https://snack.expo.io/ry7LNPVv-

But i used react-native init on a fresh new project

Thanks.

Victor

@skevy
Copy link
Contributor

skevy commented Aug 7, 2017

The allowFontScaling is not affected by display zoom -- only by "dynamic text" (General -> Accessibility -> Larger Text). If the user has display zoom enabled, I'm not aware of a way (even in native iOS) to keep things the same size.

@skevy skevy closed this as completed Aug 7, 2017
@vmacavero
Copy link
Author

@facebook facebook locked as resolved and limited conversation to collaborators Aug 7, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants