Closed wmertens closed 1 year ago
I believe Popover and Top Layer shipped together in browsers so in the event that this polyfill is needed there is no top layer to add anything to.
Also, from mdn:
Note that the top layer is an internal browser concept and cannot be directly manipulated from code.
Right, I meant that it would add a div to the body and move the popover element into it, but that may wreak havoc on frameworks so it's not really an option.
Is there a reason why this can't or won't be done? CSS or something?