Skip to content

Commit 50cd5e2

Browse files
Mike Judgealvaromb
Mike Judge
authored andcommittedOct 18, 2018
Fix leftover blank space at bottom of scrollView on android (#279)
1 parent 6dfaece commit 50cd5e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎lib/KeyboardAwareHOC.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,9 @@ function KeyboardAwareHOC(
428428
}
429429

430430
_resetKeyboardSpace = () => {
431-
const keyboardSpace: number = this.props.viewIsInsideTabBar ? _KAM_DEFAULT_TAB_BAR_HEIGHT : 0
431+
const keyboardSpace: number = this.props.viewIsInsideTabBar
432+
? _KAM_DEFAULT_TAB_BAR_HEIGHT
433+
: 0
432434
this.setState({ keyboardSpace })
433435
// Reset scroll position after keyboard dismissal
434436
if (this.props.enableResetScrollToCoords === false) {

0 commit comments

Comments
 (0)
Please sign in to comment.