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
Spike to understand how to match dynamic text size from iOS #4902
Comments
There's an old PR exploring this: #1716 |
We'd be particularly keen to see if we can update the root font size and benefit from our font sizes being set in My current (and possibly misguided) mental model for how content gets loaded in a webview makes me think of the following moments we could pass a font-size:
However we do it, we also need to handle the fact that users may change the setting for Dynamic Type while the app is running, so the app will have to adapt to that. The app will be notified of the change, and will need to forward it to the WebView. |
Closing this as the cycle of work was completed. There's a sample iOS app to test Dynamic Type on the Adapting the font size works 🥳 It brings questions on how our typographic scale and spacing scale should adapt to the change of base font-size. We'll also need to consider whether/how to match other 'named' values for the type scale that are available on the native side or as other |
What
Investigate how a page inside a webview may adapt to the user's having configured a specific Text Size on their iOS device.
font
?Why
This would help us understand how to match the font size configured by the users
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
The text was updated successfully, but these errors were encountered: