GoogleChrome / dialog-polyfill

Polyfill for the HTML dialog element
BSD 3-Clause "New" or "Revised" License
2.45k stars 245 forks source link

backdrop bug with multiple dialogs in safari #209

Closed cyanic-webdesign closed 3 years ago

cyanic-webdesign commented 3 years ago

I have a use case where I need to have multiple dialogs open. In Chrome/Firefox all looks good with the backdrops, but in Safari it looks like it only adds one backdrop. I for example I close the second dialog, the whole backdrop of the first dialog is gone. Is this a bug with Safari?

With both dialogs open I see the first dialog has classes: backdrop open and the second one only has backdrop