mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
57c40d9a6f
Summary: When the ModalHostView is added as a child of whatever view holds it, if accessibility is turned on, Android will walk up to the root and then walk all children of the child and verify that they are indeed children of the root. Since ModalHostView actually adds its children to a new ReactDialogViewGroup which has the Dialog as a parent, there is a disagreement about the tree deep in the bowels of View when it performs that walk. The trick is to stop from adding the children of the ModalHostView when walking for accessibility. The accessibility of those children views are properly handled by the hosting Dialog. Reviewed By: andreicoman11 Differential Revision: D3230033 fb-gh-sync-id: 1e5ac334c996b1d5f50c75ded60805d8b871477a fbshipit-source-id: 1e5ac334c996b1d5f50c75ded60805d8b871477a
Building React Native for Android
See docs on the website.