Mobile Login page input gets focus after page layout and input box Move up problem

Source: Internet
Author: User

Recently cut the page, found the mobile login page, with the type of input box,

There is nothing wrong with the page itself, uploading to the test server, accessing the iphone with no problems, but when the colleague gets the focus with the Android phone, the problem comes,

After the soft keyboard is paged out, the input box is squeezed to the top of the page, the content covers the logo, and the page is instantly low.

Then a variety of changes, the move up the part of fixed positioning, JS various control heights, but geese are not very good effect. After various degrees Niang and try, finally return to normal

Finally, the entire page background moves up, not just the content. Paste the code, the emphasis is on the markup section

Problem solving, so easy, hope to help everyone!

Mobile Login page input gets focus after page layout and input box Move up problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.