diff --git a/lib/KeyboardAwareHOC.js b/lib/KeyboardAwareHOC.js index 03f46af..c38e260 100644 --- a/lib/KeyboardAwareHOC.js +++ b/lib/KeyboardAwareHOC.js @@ -215,7 +215,11 @@ function KeyboardAwareHOC( if (Platform.OS === 'ios') { this.keyboardWillShowEvent = Keyboard.addListener( 'keyboardWillShow', - this._updateKeyboardSpace + (frame) => { + if(Keyboard.isVisible()) { return; } + + this._updateKeyboardSpace(frame) + } ) this.keyboardWillHideEvent = Keyboard.addListener( 'keyboardWillHide',