Rendering flickers for a short time after launch. Workaround?

57 views Asked by At

A Cordova-based app - containing only a few relatively simple / local pages - flickers somehow during launch, just after the splash screen disappears and the first jQuery-based data-role="page" page appears.

The flicker appears in the bar at the top of the screen.

For roughly a 2/10 of a second, the screen appears as if CSS not yet applied. After that, the page appears as it should, as if CSS suddenly gets applied.

Does a standard workaround exists? E.g. mark all data-role="page" pages as display:none and some tenth of a second later within

app.initialize();

make the pages visible.

Or may I somehow instruct Cordova to do that for me?

Seen on iPad 2.

0

There are 0 answers