diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/index.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/index.html b/www/index.html index 3540073f..65d8450e 100644 --- a/www/index.html +++ b/www/index.html @@ -295,7 +295,19 @@ }); </script> + <!-- keyboard input jump fix + https://forum.ionicframework.com/t/ionic-keyboard-scroll-issue-ios/34420/2?u=pliablepixels + --> + <script> + window.addEventListener('native.keyboardshow', keyboardShowHandler); + + function keyboardShowHandler(e) { + setTimeout(function () { + $('html, body').animate({ scrollTop: 0 }, 1000); + }, 0); + } +</script> |
