Mobile development encounters a pit

Source: Internet
Author: User

Mobile development is really constantly stepping on the pit, today is doing a mobile component, and found a pit, recorded in the log, make a record, so that later encountered this problem has a record can be referenced.

In the Chrome browser in iOS, the Touchend event cannot be triggered when the finger moves out of the screen from the top of the screen (sure to go through the screen edge), but the Touchend event does not disappear, but is not triggered until the next time the screen is touched.

This problem makes me think helpless, my demand is a container to do an animation, when the finger left the screen, that is touchend when the animation started, with this problem, when the finger is passing through the screen edge and left the screen is, can not trigger touchend, so it is not possible to start the animation. This problem page has a solution to find.

Search on the internet did not mention the issue of the article, post, if there is a solution to the classmate, hurriedly leave a message.

Add:

Just a second test, not only the screen from the above when the situation occurs, swipe up to the browser's address bar, the same situation occurs.

Mobile development encounters a pit

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.