peaktan

Results 14 comments of peaktan

> 感谢大家的耐心。 > > 该问题是由于视图离开屏幕时事件发送器被破坏而引起的。 此 PR 应该可以修复该问题,安装在 0.76 中发布: > > * [当新架构发生触摸时不要破坏视图 #45865](https://github.com/facebook/react-native/pull/45865) @cortinico OK, may I ask if this fix fixes your problem?:https://github.com/facebook/react-native/issues/36710

> Hi @peaktan, Could you please try testing the issue on React Native version 0.76.5? It would be really helpful to narrow down the cause. ok,I'll give you a reply...

> Hi @peaktan, Could you please try testing the issue on React Native version 0.76.5? It would be really helpful to narrow down the cause. Hello, I verified it on...

> How about other **non-MIUI devices**? Have you tried on Google Pixel, Samsung Galaxy, Android emulator? Other simulators did not find the problem, we have 600,000 users online APP, currently...

> MIUI 14 seems to have problems as well, and other devices have not been tested. This problem only occurs in the new arch, set `newArchEnabled=false` and this problem disappears

> Thanks for the clarification. This is a bit complicated for us to handle as I don't have a MIUI device so I can't really test/verify it locally Xiaomi mobile...

> Thanks for the clarification. This is a bit complicated for us to handle as I don't have a MIUI device so I can't really test/verify it locally Many cloud...

> Note: seems like there was text cutoff issue reported with Xiaomi device previously. > > * 1st attempt PR: [PR #39581](https://github.com/facebook/react-native/pull/39581) (was [reverted](https://github.com/facebook/react-native/pull/39581?fbclid=IwZXh0bgNhZW0CMTEAAR136rLklHSL9Zr-PHpe6TlXBI4J0UHQ5GVwByzzkbZvrnLZY479cbkjnQ0_aem_LcYuKi2YcRw0PyF1uFj-FA#issuecomment-1736536996) due to crash) > * 2nd...

> [@sarthak-d11](https://github.com/sarthak-d11) [@cortinico](https://github.com/cortinico) [@peaktan](https://github.com/peaktan) hi, I have a MIUI device and have some investigation in this issue. Found that it should be related to textMeasureCache strategy, related [source code](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/android/react/renderer/textlayoutmanager/TextLayoutManager.cpp#L167-L186). >...

At present, I found that this problem only occurs when using the **MiSans** font and changing the system font weight. MiSans was added after MIUI 13. At the same time,...