diff --git a/src/components/status.jsx b/src/components/status.jsx index ffd48ed7..971bda03 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -714,7 +714,10 @@ function Status({ state={isContextMenuOpen ? 'open' : undefined} anchorPoint={contextMenuAnchorPoint} direction="right" - onClose={() => setIsContextMenuOpen(false)} + onClose={() => { + setIsContextMenuOpen(false); + statusRef.current?.focus?.(); + }} portal={{ target: document.body, }}