From 9840ced9293ba413f9e27fdc17981011c8a3e282 Mon Sep 17 00:00:00 2001 From: Andrei Coman Date: Wed, 24 Aug 2016 08:37:53 -0700 Subject: [PATCH] Reverted commit D3735237 Summary: Currently, text inputs do not scroll when inside other components like scroll views. This fixes it by blocking any parent native component from taking the responder when the text input is focused and is being scrolled. This fixes the previous implementation, where the scroll view was not able to scroll on top of other text inputs, even though they were not focused. This makes the component similar to it's ios counterpart. Reviewed By: foghina Differential Revision: D3735237 fbshipit-source-id: 724f94a6e7332d03261a80f63ffa60d0e5846932 --- Libraries/Components/TextInput/TextInput.js | 1 - Libraries/Components/Touchable/Touchable.js | 1 - 2 files changed, 2 deletions(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index f07188ab9..a92d42906 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -691,7 +691,6 @@ const TextInput = React.createClass({