WebApp must be noted in the following areas:

Source: Internet
Author: User

1, because Apple led the mobile browser to respond to double-click Zoom, so the Click event will have a 300ms delay, for WebApp this experience is very bad,

Workaround: "Disable scaling in Meta":

<name= "Viewport"  content= "width=device-width,initial-scale=1.0, Maximum-scale=1.0,minimum-scale=1.0,user-scalable=no ">
2, Mobile Click event appears background box (for Mint-ui in the POPUI component, click on the mask to close the modal, will flash first before closing): solution:
* {    -webkit-tap-highlight-color:rgba (0, 0, 0, 0);       -moz-tap-highlight-color:rgba (0, 0, 0, 0);   -ms-tap-highlight-color:rgba (0, 0, 0, 0);   -o-tap-highlight-color:rgba (0, 0, 0, 0);   tap-highlight-color:rgba (0, 0, 0, 0);     }

3, the mobile side disable long press appear copy, cut and other operations

* {   -webkit-touch-callout:none;    -webkit-user-select:none;    -khtml-user-select:none;    -moz-user-select:none;    -ms-user-select:none;    user-select:none;    }

  

WebApp must be noted in the following areas:

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.