mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
853d5b2221
Summary: Now that UITextViews have a delegate, they consume the "tap to scroll to top" gesture. This diff restores the original behavior of letting the top-level scroll view (if any) scroll to top instead. I tried exposing scrollsToTop as a prop and was semi-successful in that I could turn scroll-to-top on and off for the top-level scroll view scroll, but the text view itself would never scroll to top. So instead of exposing it as a prop, this diff sets scrollsToTop always to NO, which is how TextInput behaved previously. Closes https://github.com/facebook/react-native/pull/2333 Github Author: James Ide <ide@jameside.com>