4 ms·
The Popover API only makes non-modal popups.
by robertoandred 2y ago
The Popover API only makes non-modal popups.
- worble 2y agoYes, 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,”