Summary: | No close of popover with click/touch on backdrop in Safari iOS and iPadOS | ||
---|---|---|---|
Product: | WebKit | Reporter: | Russ <russ> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | a_protyasha, bramus, karlcow, lwarlow, ntim, rik, webkit-bug-importer, webkitbugs |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | Safari 17 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 17 | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=273141 |
Description
Russ
2024-01-18 04:05:00 PST
Hi, I have the same issue even with any backdrop. Just a popover (short for popover="auto" should allow to be closed when clicked/taped outside of it. Or I can’t achieve that on my phone on iOS 17.4. Here a very simple demo you can test on if you wanna reproduce the issue https://codepen.io/Tixie/pen/eYozYvj I'm able to reproduce this issue, specific on my iPad running iPad OS 17.4, a touch outside of a popover won't close it, but clicking with a mouse (for example one moved onto the iPad via universal control from a mac) does close it. Adding a pointerdown event listener to document.body, "fixes" the issue. Wow cursed 😆 |