Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[a11y] fix VoiceOver navigation (#33)
* [a11y] fix VoiceOver navigation This commit disables removeClippedSubviews for all react views when VoiceOver is enabled on iOS. The issue is that VoiceOver relys on the view hierarchy to know how to navigate between elements when the user swipes left and right. When removeClippedSubviews is enabled, all views offscreen are removed from the view hierarchy, causing VoiceOver to stop navigating when it gets to the last view rendered on screen. This PR fixes that by forcing removeClippedSubviews to be false for VoiceOver users. * [a11y] fix VoiceOver navigation This commit disables removeClippedSubviews for all react views when VoiceOver is enabled on iOS. The issue is that VoiceOver relys on the view hierarchy to know how to navigate between elements when the user swipes left and right. When removeClippedSubviews is enabled, all views offscreen are removed from the view hierarchy, causing VoiceOver to stop navigating when it gets to the last view rendered on screen. This PR fixes that by forcing removeClippedSubviews to be false for VoiceOver users.
- Loading branch information