From 729c04b58b8c54476a13e139996cbc41be03ee5c Mon Sep 17 00:00:00 2001 From: Andrei-Ovidiu Coman Date: Tue, 2 Feb 2016 13:19:58 +0000 Subject: [PATCH] Revert "TextInput should call blur and focus methods of selectionState" --- Libraries/Components/TextInput/TextInput.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 1f1aebf8b..f9c03a175 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -525,10 +525,6 @@ var TextInput = React.createClass({ if (this.props.onFocus) { this.props.onFocus(event); } - - if (this.props.selectionState) { - this.props.selectionState.focus(); - } }, _onPress: function(event: Event) { @@ -569,10 +565,6 @@ var TextInput = React.createClass({ if (this.props.onBlur) { this.props.onBlur(event); } - - if (this.props.selectionState) { - this.props.selectionState.blur(); - } }, _onTextInput: function(event: Event) {