Hacker News

Favorites Setup
Comment by encom | original | HTML Can Do That
[−]encom · 2026-08-20 Thu 17:30 UTC · link
>popover

Why are we cool with popups again? Anything that interrupts and blocks content is annoying, and is nearly guaranteed to make me leave immediately. It can be used responsibly, but it almost never is.

[−]vazark · 2026-08-20 Thu 17:58 UTC · link
It is commonly used in dashboards when you want a confirmation dialog
[−]stefan_lec · 2026-08-21 Fri 01:16 UTC · link
Very handy for nav bars with expandable drop-downs for more links - can now be done with zero JS. Requires much less CSS boilerplate now, and you don’t have to use z-index at all (which eliminates a whole bunch of tricky issues). They also handle all the tricky aria/keyboard/focus mgmt bits for you, too. It works really, really well.

Supposed to be real handy for tooltips too, but haven’t used that myself yet.

Edit to avoid potential confusion: these are separate from modal dialogs, think more like very small popups anchored to one point on the page that still allow you to interact with everything else. Theoretically you can make them modal, but it would be silly to - you’d be better off using <dialog> and the invoker api

[−]Zardoz84 · 2026-08-21 Fri 07:36 UTC · link
I find it very useful to create complex dropdowns. Also, to generate popover that shows previews...