From 04da0fc76e52eae5fa43b896259eca31d19def18 Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Wed, 15 Apr 2015 14:10:05 -0500 Subject: [PATCH] fix(keyboard): use keyboardGetHeight not ionic.keyboard.height --- js/utils/keyboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/utils/keyboard.js b/js/utils/keyboard.js index 6993c379951..f2b538e5236 100644 --- a/js/utils/keyboard.js +++ b/js/utils/keyboard.js @@ -512,7 +512,7 @@ function keyboardShow() { target: keyboardActiveElement, elementTop: Math.round(elementBounds.top), elementBottom: Math.round(elementBounds.bottom), - keyboardHeight: ionic.keyboard.height, + keyboardHeight: keyboardGetHeight(), viewportHeight: keyboardCurrentViewportHeight }; @@ -643,7 +643,7 @@ function getViewportHeight() { (ionic.keyboard.isOpen || ionic.keyboard.isOpening) && !ionic.keyboard.isClosing) { - return windowHeight + ionic.keyboard.height; + return windowHeight + keyboardGetHeight(); } return windowHeight; }