3 ms·
Make no mistake: dialog element is there only because browsers (and Chrome, first and formost) want to remove alert/prompt. dialog was so problematic that the
by dmitriid 4y ago
Make no mistake: dialog element is there only because browsers (and Chrome, first and formost) want to remove alert/prompt.
dialog was so problematic that the same people that are now promoting it were in favor of removing it entirely. Literally none of the issues were solved, but now it's a great new element that we all should use.
- jhgkjhlkhjkljk 4y ago
- laundermaf 4y agoDialog is fine, but what I’m most excited is the upcoming Popup API. The finest part is that “the most recent popup gets the top-most layer”. You never have to fight z-index again because popups now live in a compositing layer outside the document itself (even though they’re still part of it), akin to position:fixed but without the conflicts.