jquery-archive / jquery-mobile

jQuery Mobile Framework
https://jquerymobile.com
Other
9.7k stars 2.41k forks source link

first page transistion in phonegap: blank screen before transition #2021

Closed markusweb closed 12 years ago

markusweb commented 12 years ago

i have one problem. using jqm beta 1 (it was also there in alpha 4.1). we are in the process of updating our app and submitting it to apple's appstore. we have built an IOS app with phonegap. the next small update will support ipad (ok, not a great deal, just one or two clicks in the xcode project) and some bugfixes and layout tweaks. as the search in list view now works fast we can also switch this feature on.

it really works very well. but there is one problem, this problem is also present with version alpha 4.1 of jqm.

when we start the app and do our first click, the app will load some json-content via ajax and with the help of jquery template the html will be rendered and inserted into the page. the first click will lead to a nearly blank/black page only the spinning ajax-loading.png is shown. then - i think - after the content is loaded the index.html is displayed again and the page transition to the new page works. the grey css box is not visible. any further clicks will work. this is also the case when i load a lokal html-page which is present in the www-folder of the phonegap project.

see the screenshot on http://www.wuppertal-live.de/mr/IMG_0207.PNG

toddparker commented 12 years ago

This would be a better question for the support forums. Would you mind posting this question over there along with more details? Thanks!

markusweb commented 12 years ago

see my comment in https://github.com/jquery/jquery-mobile/issues/455#issuecomment-1579346