diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 523c25751be..a6780fabd57 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -891,6 +891,10 @@ const TextInput = createReactClass({ // tag is null only in unit tests TextInputState.registerInput(tag); } + + if (this.props.autoFocus) { + this._rafId = requestAnimationFrame(this.focus); + } }, componentWillUnmount: function() {