framework7

Open full view…

Android Keyboard resizing and scroll

poyntichanel
Thu, 22 Jun 2017 13:06:26 GMT

Hello, On my app , on android when i click on the input the window resized itself but i dont want it to do that. I would like to make it look like the ios where u can scrool through the page. var pageH = $$('.page-content').css('height'); $$('input').on('focus', function (e) { $$('.page-content').css('height', pageH); }); With that the window wont resize but the keyboard will just overlay the page hidding the bottom content.However the content will be displayed if the user clicks on next (of the keyboard) until it reaches the input that isnt displayed , or when he writes on that input . Is there a way to move the page up even if there is no more space in the top(basicilly center the input in the page, kinda) or make the user scroll freelly.