SUI Mobile Framework Development, Android, iOS form encountered problems

Source: Internet
Author: User

1. Page Add area Scrolling, element event invalid in scrolling area

Workaround:

<script type= "Text/javascript" charset= "Utf-8" >    $ (". Page-current"). Scroller ({            ' JS '        }); </script>

The scrolling initialization is executed before the event that you add.

For example, to add a click event to an input with ID name in the scrolling area, when the page has just been loaded, executes first, binds the event to the current input, and then executes the scroller zone scrolling initialization height. will be the current page of the scrolling area of rewriting (PS: This is derived from the network, it seems that after the page load after a short refresh action "non-browser pages with read bar refresh", the page to reconstruct the feeling of flash), when you click on the #name INPUT element, and will not trigger the Click event, why???

Cause: The input of #name at this time is the INPUT element after scroll initialization, not the input element that was just loaded by the page. is not the same element.

The same problem is encountered when scrolling with areas of the iscroll.js and MUI frames. The workaround is to initialize the scrolling area function plus the 200+MS timer

2, the Android environment, the input form keyboard pop up blocking the input box problem.

3.

SUI Mobile Framework Development, Android, iOS form encountered problems

Related Article

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.