Reputation: 977
I have a cordova 2.4.0 application made using jquery mobile 1.3.1.
The problem is that on each page changing, using changePage, a white background is shown for 1-2 seconds before switching to the new page.
I am getting this behavior only on iPhone ( haven't tested on iPad ), but on android 2.1 phone and android 4.0.3 tablet all works fine.
I am using separate files for each page, e.g. index.html, login.html, register.html. I even tried to put the page divs into index.html and call the changePage with $('#page-id') argument, but the white background problem is still there.
What I tried so far without success:
How should I fix this?
Upvotes: 2
Views: 1244
Reputation: 1412
I suggest you to remove all the data-position="fixed"
from your HTML.
I had the same problem and this solved the "white flickering" issue.
Read more: https://github.com/jquery/jquery-mobile/issues/4024
Upvotes: 2