-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Dialog's parent page shouldn't be removed when dialog is open #2558
Comments
@jblas |
And finally i've found it: #2289 |
Just to be clear, I'm not convinced we want to have this as the default behavior (as noted in the link). If this is a serious issue please use [edit] should be true not false :/ |
I think for 1.0, this is going to be too big of a change at this stage. If the dom cache attribute is a usable workaround for people, we can review this post 1.0. I have a lot of improvements in mind for dialogs/overlays. |
I'm also of the opinion that ideally, the page opening the dialog should stay in the DOM. In my case I wanted play with the opacity of the space around the dialog, to achieve sexyness :-) In my case the But that workaround isn't great when the dialog is opened from a dynamic page (e.g. /wines/[wine-id]). That's a whole lot of markup that could potentially stay in the DOM, depending on how much the user is browsing around :-) That said, a post 1.0 fix works for me. Thanks for the great framework, guys! |
Great, thanks :) |
And here's the patch: |
Hi,
I noticed that the dialog's parent page is removed from dom when the dialog is open.
I think this is not the intension that we want since we're even discussing about "Dialog transitions should leave previous page visible" at: #2211
To confirm this behavior follow this simple 3 steps from the jquery mobile test pages:
-> watch the page-dialogs.html page being loaded in the dom
-> notice that this dialog's parent (i.e page-dialogs.html) has be removed from the dom
I didn't see any similar issues open but i think that this has to be solved before issue #2211 can be solved.
The text was updated successfully, but these errors were encountered: