3 ms·
Those libraries often cover edge cases the spec doesn't. For example with this what if for some reason I need the top level to share a some permamently availabl
by interstice 4y ago
Those libraries often cover edge cases the spec doesn't. For example with this what if for some reason I need the top level to share a some permamently available UI element?
- ddulaney 4y agoJust use iframes! But more seriously, you do this in multi-page apps by just having that UI element in every page. Just about any (server-side) templating system lets you do that easily.
- interstice 4y agoSure, but is <dialog> going to work seamlessly with that if it isn't aware of positioning outside of the top layer? It could be that it is, but this is just an example of the kind of relatively common case that these maligned libraries cover that the spec often doesn't acknowledge.