Iphone does not support Keyboard Events, iphone does not support events

Source: Internet
Author: User

Iphone does not support Keyboard Events, iphone does not support events

Recently, I am working on mobile Web pages. I have to listen to a mobile phone input box. When the mobile phone is entered to 11, the button is enabled.

I listened to the keyup event, and there was no problem on the Android phone.

But it does not work on the proud iphone.

I checked the information on the Internet. It is said that after the iphone has installed a third-party input method, the key event cannot be used.

Then there is an input event that can be replaced.

Then, when the input gets the focus, it is sometimes covered by the keyboard. At this time, we can first get the page height. When the input gets the focus, the page height is set to a large value, so that we can push the input to the upper level.

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.