mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f1a8278187
Summary: Right now you can scroll a horizontal ScrollView with TalkBack even if you've disabled scrolling in JS, because our HorizontalScrollView component doesn't prevent the accessibility scroll event (this doesn't seem to happen with vertical ScrollViews for some reason...) This diff adds an accessibility delegate to both of the Android ScrollView components to make sure they're not scrollable if scrolling has been disabled in JS. Changelog: [Internal] Reviewed By: shergin Differential Revision: D23582689 fbshipit-source-id: b670bdb462ab9c963c7125597d60ca97c7d88a9c