diff --git a/src/components/status.jsx b/src/components/status.jsx index 8e41de98..10a78796 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -719,7 +719,8 @@ function Status({ direction="right" onClose={() => { setIsContextMenuOpen(false); - statusRef.current?.focus?.(); + // statusRef.current?.focus?.(); + statusRef.current?.closest('[tabindex]')?.focus?.(); }} portal={{ target: document.body,