diff --git a/Libraries/Components/Keyboard/KeyboardAvoidingView.js b/Libraries/Components/Keyboard/KeyboardAvoidingView.js index 6789fd5d792..4536402c510 100644 --- a/Libraries/Components/Keyboard/KeyboardAvoidingView.js +++ b/Libraries/Components/Keyboard/KeyboardAvoidingView.js @@ -87,7 +87,7 @@ class KeyboardAvoidingView extends React.Component { _onKeyboardChange = (event: ?KeyboardEvent) => { this._keyboardEvent = event; - this._updateBottomIfNecesarry(); + this._updateBottomIfNecessary(); }; _onLayout = (event: ViewLayoutEvent) => { @@ -99,7 +99,7 @@ class KeyboardAvoidingView extends React.Component { } if (wasFrameNull) { - this._updateBottomIfNecesarry(); + this._updateBottomIfNecessary(); } if (this.props.onLayout) { @@ -107,7 +107,7 @@ class KeyboardAvoidingView extends React.Component { } }; - _updateBottomIfNecesarry = () => { + _updateBottomIfNecessary = () => { if (this._keyboardEvent == null) { this.setState({bottom: 0}); return;