-
Notifications
You must be signed in to change notification settings - Fork 2.4k
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Prefetched dialog not rendered #2335
Comments
I was able to reproduce a while ago, but can you post a test page on jsbin or jsfiddle? I don't know if this is a technical limitation or just something we missed int he recent refactors. |
I am seeing this same issue. It also happens when you use javascript to preload the page: $.mobile.loadPage("page.htm"); |
Hi guys - if you can post a test page in jsbin or jsfiddle using the latest build, we'll take a look. |
I'm having the same issue too. Here's an example http://jsfiddle.net/Y7Lcz/3/ As soon as you remove the data-prefetch from the link, everything looks perfect. Thanks! |
Hello again - I just figured out how to make it work correctly. You have to make sure to set data-role='dialog' for the page you want to act like a dialog. It seems like you only need to do this when you prefetch a page that has data-rel='dialog'. |
Actually, I just noticed the styling is really off when you do that... hmmm :/ |
Beta 2: When I link to a dialog via data-rel="dialog" and also apply the data-prefetch attribute, the dialog is not rendered with rounded corners and close button. If the data-prefetch attribute is removed, everything works as expected.
The text was updated successfully, but these errors were encountered: