Modal icon indicating copy to clipboard operation
Modal copied to clipboard

[Feature Request] Allow access to specific modal instance inside modal to close parent modal

Open sskieller opened this issue 2 years ago • 2 comments

Allow access to specific modal instance inside modal, so that you can close the first modal opened while still keeping the second modal opened.

First modal opened First modal opens second modal First modal closed using its own instance ref Second modal still open

I have created a repro here: https://github.com/sskieller/Blazored.Modal-parent-child-repro

image

sskieller avatar Oct 25 '22 13:10 sskieller

Right now, if you close the 'parent' modal a flash occur where the second modal is initialized twice

sskieller avatar Oct 25 '22 14:10 sskieller

Updated with Repro

sskieller avatar Oct 25 '22 14:10 sskieller