2025-01-01 00:02
Frontend Threads: The Popover API is pretty good but the "light dismiss" behavior (closing a popover when clicking outside of it) is a tad bit wonky:
1) Doesn't work on iOS (although fix was merged and should hopefully land soon?)
2) It's difficult to create a backdrop that "blocks" clicks below with pure CSS. `body:has(:popover-open)::after` sort of works but is wonky on Chrome mobile.
In the meantime, sticking with `popover="manual"` + JS seems like a good alternative.