Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening multiple dialog at once #6761

Closed
VagrantAI-c opened this issue Aug 31, 2017 · 5 comments
Closed

Opening multiple dialog at once #6761

VagrantAI-c opened this issue Aug 31, 2017 · 5 comments
Labels
needs: discussion Further discussion with the team is needed before proceeding

Comments

@VagrantAI-c
Copy link

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

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?

2.0.0-beta.10

Is there anything else we should know?

@crisbeto
Copy link
Member

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?

@jelbourn
Copy link
Member

jelbourn commented Sep 7, 2017

What if we added a method to dialog like openWhenReady? I agree that the current behavior feels not-quite-right

@crisbeto
Copy link
Member

crisbeto commented 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
Copy link
Member

Closing since we don't have the limitation of opening one dialog at a time anymore.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
@mmalerba mmalerba added the needs: discussion Further discussion with the team is needed before proceeding label Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: discussion Further discussion with the team is needed before proceeding
Projects
None yet
Development

No branches or pull requests

4 participants