-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Enhancement to open multiple dialogs using $mdDialog #8630
Comments
Alright, understood. Thanks for the quick feedback =) |
@devversion Will you let us know here if you finally manage to revisit the multiple dialogs issue? |
@jaymanned Definitely yes! It's just a lower priority on my queue for now, but will definitely revisit that issue. |
* Adds support for multiple interim elements (like dialog) * When single interim (default) is enabled, then interims should hide properly (as in toasts). Fixes angular#8624. References angular#8630.
Copying and pasting my comment from #3072 for others who may stumble upon this or are unaware of existing functionality: Unsure why this isn't documented, but using And here's the line of code that "skips" hiding the parent dialog. |
@devversion I see... and awesome. Thanks for your work on this! So as of #9053 you migrate |
@olingern - Exactly
|
* Adds support for multiple interim elements (like dialog) * When single interim (default) is enabled, then interims should hide properly (as in toasts). Fixes angular#8624. References angular#8630.
* feat(interimElement): properly handle multiple interims. * Adds support for multiple interim elements (like dialog) * When single interim (default) is enabled, then interims should hide properly (as in toasts). Fixes #8624. References #8630. * When hiding wait for currenlty opening interims * Address EladBezalel's feedback * Wait for interim element for cancel as well * Address EladBezalel's feedback
Currently $mdDialog does not support multiple dialogs at one time. Updated focus manager to only close dialogs in WAITING state. See [this angular material issue](angular/material#8630) Closes fgpv-vpgf#1215
Currently $mdDialog does not support multiple dialogs at one time. Updated focus manager to only close dialogs in WAITING state. See [this angular material issue](angular/material#8630) Closes fgpv-vpgf#1215
Currently $mdDialog does not support multiple dialogs at one time. Updated focus manager to only close dialogs in WAITING state. See [this angular material issue](angular/material#8630) Closes fgpv-vpgf#1215
Hello guys, just wanted to let you know, that multiple dialogs are right now supported, but not documented yet. Using the |
Great. Thanks. So it's now part of release 1.1.1? |
It will be available in the next release. Right now its only in |
* feat(interimElement): properly handle multiple interims. * Adds support for multiple interim elements (like dialog) * When single interim (default) is enabled, then interims should hide properly (as in toasts). Fixes angular#8624. References angular#8630. * When hiding wait for currenlty opening interims * Address EladBezalel's feedback * Wait for interim element for cancel as well * Address EladBezalel's feedback
* Add a brief documentation on how to show multiple dialogs at the same time. * Adds the `multiple` option to the preset methods (as same as for the $$interimElement default preset) Closes angular#8630.
* Add a brief documentation on how to show multiple dialogs at the same time. * Adds the `multiple` option to the preset methods (as same as for the $$interimElement default preset) Closes #8630.
Are we not able to use |
@warent You should be able to do that. |
Hello. Is this option part of release 1.1.1 yet? Thx for the good work |
@devversion Not works with confirm().multiple(true) on 1.1.1 |
@trinvh It doesn't work because it hasn't been released as part of
|
Well done @devversion |
This works for me: var confirmDialog = $mdDialog.confirm({ $mdDialog.show(confirmDialog) |
Great! It worked for me. |
I am not able to use $mdDialog.prompt({ what am i doing wrong ? |
@jainpiyush111 - I haven't tested on the prompt(), but on confirm() you would do it this way, which is probably very similar for prompt:
.. FYI - I'm on v1.1.3 |
For confirm and alert dialog, it'll be better to use .parent with skipHide/multiple:
|
I am using 1.1.4 and this is my codes: It didn't work, any reason? |
Not sure about your version, but I'm on 1.1.7 and it works well. |
Thanks. Solved. |
Hello,
I am inquiring to find out whether or not there are plans to add functionality to the $mdDialog service for showing multiple dialogs. I am aware of this thread but I'd like to rekindle the discussion.
My specific need is that my application requires a virtual keyboard. I implemented this virtual keyboard using a wrapper service around $mdDialog (and a separate directive). This worked flawlessly...up until the point I tried to apply my virtual keyboard to an input that's inside of a dialog. Once the user clicks the input within the dialog it goes away and up comes the keyboard.
1) Is there any chance that having multiple dialogs will be implemented in the future?
2) Does anyone have suggestions for working around this limitation?
I found the options $mdDialog provides to be extremely useful, so it's disappointing to rearrange my architecture and try to recreate the niceties myself.
The text was updated successfully, but these errors were encountered: