[react_native] JS files from D2020585: [react_native] Remove focus for TextInputs when they unmount

This commit is contained in:
Andrei Coman 2015-04-24 09:12:04 -07:00
parent d293bed5ab
commit a635a73abc

View File

@ -350,6 +350,9 @@ var TextInput = React.createClass({
componentWillUnmount: function() {
this._focusSubscription && this._focusSubscription.remove();
if (this.isFocused()) {
this.blur();
}
},
_bufferTimeout: (undefined: ?number),