当我更改Android设备的字体大小时
I have this form in my react-native app and when the font-size of a device is not default, the font-size of an input text and a select option looks different.
How to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在app.tsx(凝视应用程序文件)文件中写下以下代码。
对于上述代码,如果您的设备字体设置更改您的应用程序字体更改将不会更改,则无论您提供的样式提供的内容都将保持不变
You need to write below code in your app.tsx(Your staring application file) File inside useEffect.
For above code if your device font setting change your app font change will not change it will remain same whatever you provide in your style