Ben Frain 11/14/2023

New Web APIs — a popover on top of a dialog element can’t be interacted with?

Read Original

This technical article investigates a specific limitation in modern web APIs: the inability to interact with a popover element positioned above a modal dialog. It explains the concepts of the 'top layer' and the inertness of content behind modal dialogs, detailing why using `showModal()` or `show()` on dialogs fails. It then explores the newer Popover API as a potential solution and references an open issue with the CSS Working Group for spec changes.

New Web APIs — a popover on top of a dialog element can’t be interacted with?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser