Preserve input focus across passive overlays
This commit is contained in:
1 parent
a01c86e383
commit
08a5bd192c
3 files changed
+54
-11
No files matched your search
@@ -210,6 +210,11 @@ invariant ActivityActiveHighlight {
|
||||
btn.active = (active_view = btn.id and sidebar_visible)
|
||||
}
|
||||
|
||||
invariant PassiveOverlayFocusStability {
|
||||
-- Adding or removing passive overlays such as toasts and background-task
|
||||
-- notifications never changes the keyboard-focused control.
|
||||
}
|
||||
|
||||
-- ─── Git badge ────────────────────────────────────────────────
|
||||
|
||||
-- Only the git activity button carries a badge.
|
||||
|
||||
Reference in new issue
Block a user