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

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -