mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5a9b7d7adc
Summary: Changelog: [Internal] In paper implementation: `accessibilityActivate` returns NO in case `onAccessibilityTap` is nil. In Fabric we have no option to detect whether `onAccessibilityTap` is nil or isn't but we don't want to prevent VoiceOver from tapping an element. This could potentially trigger action associated with element twice. Let's say you have `onPress` and `onAccessibilityTap`, it will trigger both if you trigger action through VoiceOver. Reviewed By: shergin Differential Revision: D18572432 fbshipit-source-id: c5ac002317c798a10045b6f05738299d0ae27456