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