Merge pull request #257 from TouchInstinct/fix/PET-3233
PET-3233: fix KeyboardBehaviorDetector when bottomInset == 0
This commit is contained in:
commit
b2b9caa4d3
|
|
@ -53,7 +53,7 @@ class KeyboardBehaviorDetector(
|
|||
|
||||
if (startNavigationBarHeight == -1) startNavigationBarHeight = bottomInset
|
||||
|
||||
if (startNavigationBarHeight > bottomInset) {
|
||||
if (startNavigationBarHeight > bottomInset && bottomInset != 0) {
|
||||
// update height if it was initialized incorrectly
|
||||
startNavigationBarHeight = bottomInset
|
||||
listener.invoke(false, windowInsets)
|
||||
|
|
|
|||
Loading…
Reference in New Issue