Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: 0.42.3node -v
: 8.2.1npm -v
: 5.3.0yarn --version
0.19.1
-
Target Platform: iOS
-
Development Operating System: macOS
-
Build tools: Xcode
Steps to Reproduce
On iOS, set the Accessibility Text as large as possible.
(iOS Settings -> General -> Accessibility -> Larger Text -> Larger Accessibility Sizes -> Drag to Far Right)
(Android accessibility scaling works as expected, this is an iOS-only issue)
React Native scaled text becomes WAY larger than expected, to the point where the view is broken.
Expected Behavior
With the largest accessibility text setting possible, apps are expected to scale the text, but still be useable.
React Native views are effectively useless at this massive level of font scaling.
Font Scaling on <Text>
is a boolean, but there should be a way to set thresholds or customize the level of scaling based on the accessibility setting.
Actual Behavior
See the current Instagram app's Push Notification Settings view (which uses React Native).
For a reproducible demo, navigate to the current Live Instagram app with the largest accessibility setting and you'll see this: