javascript - My website form fields are hiding behind the keyboard in mobile browser -


i implementing website. sort of plugin. has login page. when click username or password, body of website should compress. instead hides behind keyboard. using bootstrap inside it. tried implement script in header of page not working. tips?

$(document).ready(function() {     $('input').blur(function() {         $('body').css({'height':'100vh'})       })       .focus(function() {         $('body').css({'height':'50vh'})       });   }); 


Comments

Popular posts from this blog

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -