We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed4c428 commit 6dfaeceCopy full SHA for 6dfaece
lib/KeyboardAwareHOC.js
@@ -428,9 +428,7 @@ function KeyboardAwareHOC(
428
}
429
430
_resetKeyboardSpace = () => {
431
- const keyboardSpace: number = this.props.viewIsInsideTabBar
432
- ? _KAM_DEFAULT_TAB_BAR_HEIGHT + this.props.extraScrollHeight || 0
433
- : this.props.extraScrollHeight || 0
+ const keyboardSpace: number = this.props.viewIsInsideTabBar ? _KAM_DEFAULT_TAB_BAR_HEIGHT : 0
434
this.setState({ keyboardSpace })
435
// Reset scroll position after keyboard dismissal
436
if (this.props.enableResetScrollToCoords === false) {
0 commit comments