3 ms·
> 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 stil
by dmitriid 4y ago
> 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
- diegof79 4y agoI 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)