3 ms·
Yes, but in the article I posted: > Popovers created using the Popover API are always non-modal. If you want to create a modal popover, a <dialog> element is t
by worble 2y ago
Yes, but in the article I posted:
> Popovers created using the Popover API are always non-modal. If you want to create a modal popover, a <dialog> element is the right way to go.
> You can turn a <dialog> element into a popover (<dialog popover> is perfectly valid) if you want to combine popover control with dialog semantics.
- robertoandred 2y agoBut it's still a non-modal dialog, which doesn't match the JavaScript functionality.
- worble 2y agoApologies, for some reason I was convinced you could get a proper modal using the popover api but you're right, it's not a proper modal.
- rat9988 2y agoFunny, when reading this sentence, it felt like an LLM that was hallucinating and apologizes when told.
- mock-possum 2y agoI wouldn’t expect an LLM to use a phrase like “for some reason I was convinced,”