This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Description
Actual Behavior:
What is the issue? * Need a way to temporarily disappear an md-dialog; hide() destroys the dialog and resolves the promise from show()
What is the expected behavior? A minimize() or disappear() function to temporarily hide the md-dialog
AngularJS Versions: *
AngularJS Version: v1.6.5
AngularJS Material Version: v1.1.5
Additional Information:
Browser Type: * Any supported
Browser Version: * Any supported
OS: * Any supported
I'm trying to allow "minimizing" (or simply hiding) an md-dialog temporarily so users can interact with the rest of the app and return to the hidden md-dialog to continue interaction at a later time.
I have attempted using ng-hide on the md-dialog, but it doesn't return control back to the SPA, and setting focusOnOpen to false seems to have no effect.
The reason I need this? My SPA is a set of md-cards that open up md-dialogs, all of which contain enough content to require opening full-screen. The md-cards interact with each other conceptually, and there are many workflows that require ping-ponging between the md-cards.
I would like to avoid nesting the contents of my entire app within each md-dialog to allow users to exploit "multiple" overlaid md-dialogs.
My plan is to simply hide the dialog and keep it in memory rather than try to store state and restore it.
Is there a recommended way to approach this?