I'm newbie in Phonegap/jQuery mobile and I'm facing with white screen during page transition problem. I've tried to apply many solutions that I've found on web(for example -webkit-backface-visibility:hidden;
) and still haven't solved the problem.
I've also set defaultPageTransition
to none
(in jQuery mobile .js file) and still nothing.
I mustn't turn off hardware acceleration because I need it for my iDangerous swiper menu. All my links look like this:
<a href='javascript:void(0)' class='news-main' onclick='someFunction()'>Some String</a>
When I click on link someFunction() is called. Method someFuction looks like this:
function someFunction(){
//setting some value that I need in next page
window.sessionStorage.setItem("someValue",someValue);
window.location="next-page.html";
}
Everything works OK except that white flash during page transition. And it is showed only on some devices(for example Android 4+).
Is there any way to solve this issue? Or maybe I'm doing something wrong? Thanks in advance!