diff --git a/packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js b/packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js index 860118dc38375e..3a3f101c8d9b2e 100644 --- a/packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js +++ b/packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js @@ -191,6 +191,11 @@ class KeyboardAvoidingView extends React.Component { } componentDidMount(): void { + if (!Keyboard.isVisible()) { + this._keyboardEvent = null; + this._setBottom(0); + } + if (Platform.OS === 'ios') { this._subscriptions = [ Keyboard.addListener('keyboardWillChangeFrame', this._onKeyboardChange),