We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 598245c commit 04da0fcCopy full SHA for 04da0fc
js/utils/keyboard.js
@@ -512,7 +512,7 @@ function keyboardShow() {
512
target: keyboardActiveElement,
513
elementTop: Math.round(elementBounds.top),
514
elementBottom: Math.round(elementBounds.bottom),
515
- keyboardHeight: ionic.keyboard.height,
+ keyboardHeight: keyboardGetHeight(),
516
viewportHeight: keyboardCurrentViewportHeight
517
};
518
@@ -643,7 +643,7 @@ function getViewportHeight() {
643
(ionic.keyboard.isOpen || ionic.keyboard.isOpening) &&
644
!ionic.keyboard.isClosing) {
645
646
- return windowHeight + ionic.keyboard.height;
+ return windowHeight + keyboardGetHeight();
647
}
648
return windowHeight;
649
0 commit comments