I've made a jQuery Mobile (1.0 final) app, and I am having some issues with Flickering. I know this is a defined bug currently with jQM, but I wanted to see what I could do to resolve this issue.
The thread at here mentioned the following:
flickering can occur when using the same #id more than once in a page, which is not unlikely when you are using the one page template method. so be sure to not use #id's more than once.
This is a bit ambiguous to me... Obviously because jQM does AJAX loads, multiple pages may be in the DOM at any one time. In my case, my page-level IDs are all unique, but several IDs used WITHIN the pages are not (e.g. the data-role=content
div has the ID of #mainPageContent
for each page).
Is this an acceptable behavior, or should my IDs be unique globally?
PS: Sorry if this is a dupe, I found a few stackoverflow posts that were similar to this question but nothing I felt really answered this specifically.