diff --git a/en/react-native-button.md b/en/react-native-button.md index 8a09ab171280036289fb6b6744cf654cb764589a..428a8f4d396111c3a131e97362c158779f8546d6 100644 --- a/en/react-native-button.md +++ b/en/react-native-button.md @@ -113,6 +113,11 @@ react-native-harmony:0.72.20; SDK:HarmonyOS NEXT Developer Beta1; IDE:DevE ## Known Issues +Details: With the allowFontScaling property, there may be problems with failure, such as text fonts not changing with system fonts. + +Cause: The font adjustment capability of the TEXT component is not enabled in this RN version. + +Solution: https://wiki.huawei.com/domains/827/wiki/8/WIKI202407184065538, according to the method in this link, modify the app.json and the configuration.json. After the modification, install hap package again. ## Others diff --git a/zh-cn/react-native-button.md b/zh-cn/react-native-button.md index 2eb7758620952ef6437570b0b2a6e65f0fdae9cf..4f570b0ccb665221e24e251e9f9553325341e656 100644 --- a/zh-cn/react-native-button.md +++ b/zh-cn/react-native-button.md @@ -116,8 +116,11 @@ react-native-harmony:0.72.20; SDK:HarmonyOS NEXT Developer Beta1; IDE:DevE ## 遗留问题 +详情:操作allowFontScaling属性,可能会存在失效的问题,例如文本字体不跟随系统字体的修改而变化。 - 无 +原因:该RN版本未开启TEXT组件字体的放大和缩小能力。 + +解决办法:https://wiki.huawei.com/domains/827/wiki/8/WIKI202407184065538 ,按照此链接里的方法,修改app.json文件和新增configuration.json文件,修改后重新打hap包进行安装。 ## 其他