You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(desktop): refine focus reclaim logic to not steal from dialogs/routes
- Only reclaim focus when primary focus is truly idle: null, root scope,
empty FocusScopeNode (no focused children), or a descendant of our scope.
- Add _isEmptyFocusScope() to check if a FocusScopeNode has no focused children.
- Add _isDescendantOfScopeFocus() to distinguish internal idle scopes from
external scopes (dialogs, routes) that should retain focus.
- Fixes issue where global shortcuts would steal focus from open dialogs/routes.
0 commit comments