News for hackers. Stuff that matters.
Re:The top layer: a solution to z-index:10000 by dmitriid on Friday August 26, 2022 @01:30AM (#32603677)
> The thing is, if you need to create a dialog, tooltip, dropdown, or popup today... you need a lot of hacks.

This top layer isn't a solution either. It's still a hack

Re:The top layer: a solution to z-index:10000 by diegof79 on Friday August 26, 2022 @07:23AM (#32605937)
I agree. I was answering to the parent comment of: “I'm still trying to grasp the real use of this”.

This top-layer feature only solves the element at the bottom + positioning + z-index hack.

I wish to have a sort of programmatic stack API. But, the constraint of using HTML makes these things messy. The stack is implicit by nesting dialogs, and dialogs can be modeles, but is not a proper API for pop ups. (the article points to a pop up proposal, but my expectations are low)