mhartington
mhartington

Reputation: 7025

Random white flash in phonegap app

I have an app I made with Phonegap and Jquery Mobile that goes between multiple multipage Jquery Mobile documents. Its works well for what I need but a strange thing that happens is occasionally I get a white flash when going in between the different html files. Now I've seen that this is a common issue when using JQM and Phonegap but from all the other post I've looked at but from other than getting rid of the page transitions, are there any other solutions? Has this problem been resolved in Phonegap 2.5?

Im using Jquery Mobile 1.3, Jquery 1.9, and Phonegap 2.4

Upvotes: 4

Views: 405

Answers (1)

dsaa
dsaa

Reputation: 487

There's some good documentation for this here

I had a similar issue recently, you can either set the page transition to 'none':

<a href="" data-transition="none">XX</a>

This alleviated all issues of flicker for me.

You could also try adding this:

.ui-page { -webkit-backface-visibility: hidden; }

To your CSS, it's not a perfect fix however, and caused severe instability for me.

Upvotes: 3

Related Questions