Open material nested by mdDialog not working in safari

I am working on an angular 4 project in which I have a requirement to open a dialog box above a dialog box. It works fine in all browsers like chrome and mozilla firefox, but I don't work on safari.

I have a solution to close the parent dialog and use the setTimeOut function to open the second dialog.

But my requirement is not to close the parent dialog box and open the second dialog box behind it.

If anyone knows anything about this, please let me know. Thanks in advance.

+5
source share
1 answer

Uncomment this line from polyfills.js

/** ALL Firefox browsers require the following to support `@angular/animation`. **/ import 'web-animations-js'; // <- Uncomment this line 

and install

 web-animations-js : 2.3.1 

Everything is working fine.

0
source

Source: https://habr.com/ru/post/1275334/


All Articles