You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have urls that are connected to different pages, that are opened in dialog. For example, i have link /content/43/gallery which should open two dialog at once on app init, one for /content/43 and one for /gallery. It would be great if such MdDialogConfig could be added to prevent dialog from not opening, if another dialog is still initiating
What is the current behavior?
Currently, due to #5769 its impossible to perform such behavior, without implementing queue mechanism as a workaround and blocking all dialogs from closing until last dialog is opened
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
I have overlay widget app, that implements multilevel dialog system, and such behavior is damaging the app logic
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I'm not sure how it would work through the MdDialogConfig since one dialog could specify that it should prevent other dialogs, whereas another one wouldn't. Thoughts @jelbourn?
Activity
crisbeto commentedon Aug 31, 2017
I'm not sure how it would work through the
MdDialogConfigsince one dialog could specify that it should prevent other dialogs, whereas another one wouldn't. Thoughts @jelbourn?jelbourn commentedon Sep 7, 2017
What if we added a method to dialog like
openWhenReady? I agree that the current behavior feels not-quite-rightcrisbeto commentedon Sep 7, 2017
That feels a little clunky. I'll see if I can figure out a way to queue up the dialog animations.
crisbeto commentedon Dec 23, 2017
Closing since we don't have the limitation of opening one dialog at a time anymore.
angular-automatic-lock-bot commentedon Sep 8, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.