this post was submitted on 09 May 2026
10 points (100.0% liked)

Web Development

5640 readers
15 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[โ€“] LPThinker@lemmy.world 4 points 1 day ago

For what it's worth, the Popover documentation is very explicit that <dialog> is the only right tool for the job when you want a modal:

  • modal, meaning that while a popover is being shown, the rest of the page is rendered non-interactive until the popover is actioned in some way (for example an important choice is made).

  • non-modal, meaning that the rest of the page can be interacted with while the popover is being shown.

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.

[โ€“] nous@programming.dev 4 points 1 day ago

Both examples have the same behavior for me on firefox mobile. So their solution isn't universal for all browsers :(