InfomediaLtd / angular2-materialize

Angular 2 support for Materialize CSS framework.
https://infomedialtd.github.io/angular2-materialize/
MIT License
407 stars 140 forks source link

Angular materialize multiple modal doesn't work #382

Open ashuMhatugade opened 6 years ago

ashuMhatugade commented 6 years ago

@allahbaksh @hendrikschneider @pawelhertman @counsellorben @feisel I am trying to open three modals ,On each modals button click . In first and second attempt I'm able to open all three modals but when I'm trying to open them third time then second modal appears at the back of first modal. So the problem is when I'm tying to open modal multiple times it will reduces the z-index of second and third modal but the first modal z-index remains same. This problem regarding to lean modal . Please tell me what can do now? If someone knows the solution please reply.

ashuMhatugade commented 6 years ago

@allahbaksh ,@hendrikschneider, @pawelhertman ,@counsellorben, @feisel

hiii guys any updates on this.

Exellin commented 6 years ago

Take a look at #237 I got multiple modals to work this way.

ashuMhatugade commented 6 years ago

Its solved. The closing modal multiple times reduces the z-index.

Thanks for reply @Exellin