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
According to the documentation, if I use Matdialog.open a new dialog is opened, without any mention of preconditions
What is the current behavior?
As can be easily seen in dialog.ts, if a dialog is already opening, no new dialog is created and the animating one is returned. Why?
What is the use-case or motivation for changing an existing behavior?
In my case, I'm creating dialogs to show loading spinners in an HttpInterceptor. The component in the dialog requests some data at the opening, so the sequence of operation is:
dialog_1, with the actual component, is opened
the component is loaded and fires an http request
the interceptor tries to open a dialog for the spinner (fails, gets back dialog_1 reference)
the interceptor gets the response and close the dialog (which should be the newly opened spinner dialog, but closes the main dialog)
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 5, material 2.0.0-beta.10, Windows 10 1703, typescript 2.4.2
Is there anything else we should know?
The text was updated successfully, but these errors were encountered:
Bug, feature request, or proposal:
Undocumented behaviour or bug.
What is the expected behavior?
According to the documentation, if I use
Matdialog.open
a new dialog is opened, without any mention of preconditionsWhat is the current behavior?
As can be easily seen in dialog.ts, if a dialog is already opening, no new dialog is created and the animating one is returned. Why?
What is the use-case or motivation for changing an existing behavior?
In my case, I'm creating dialogs to show loading spinners in an HttpInterceptor. The component in the dialog requests some data at the opening, so the sequence of operation is:
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 5, material 2.0.0-beta.10, Windows 10 1703, typescript 2.4.2
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: