GoogleChrome / dialog-polyfill

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

Safari 14.0.2 Backdrop and dialog content issue #212

Closed JeffFlowerday closed 3 years ago

JeffFlowerday commented 3 years ago

Dialog body content is empty or messed up. Transparent backdrop isn't happening at all.

image

Script error not sure if it's related:

image
samthor commented 3 years ago

Is this related to #211, i.e., do you have the experimental element enabled?

JeffFlowerday commented 3 years ago

My screen shots are without the experimental feature enabled. I had also tried it with it enabled but it didn't work as already mentioned in #211.

samthor commented 3 years ago

I'm not 100% sure this is the visible issue but I've just published 0.5.6 which fixes the code issue you've described. Let me know how it goes.

JeffFlowerday commented 3 years ago

The error is gone, thanks. The visual issue seems to be unrelated to dialog-polyfill as I now see it happens with the experimental dialog feature enabled as well.

Again thanks!