Merge pull request #5701 from facebook/revert-5354-textinput-selectionstate-focus-blur
Revert "TextInput should call blur and focus methods of selectionState"
This commit is contained in:
commit
eebea51b7c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue