White flash between pages with PhoneGap and jQuery Mobile for mobile app

后端 未结 5 2033
闹比i
闹比i 2021-01-06 11:07

When navigating between pages using jQuery Mobile and PhoneGap on iPhone, there is an annoying white flash that displays just before the new page loads. A simple link like t

5条回答
  •  抹茶落季
    2021-01-06 11:36

    It would be great if you could tell us which version of jQM and which version of PhoneGap does this for you. I assume from your tags you experience this on iOS, which version of iOS though?

    try setting the following CSS property

    -webkit-backface-visibility: hidden;
    

    and let me know if it helps.

    This CSS rule comes with a word of warning though. It has caused problems for me on Google Maps and with Forms. Use it sparingly and only if you really need it.

提交回复
热议问题