Files
arthur-os/default
Ryan Hughes 3595279dce Park focus on a sink Item when leaving body
The previous clearBodyFocus() set focus = false on navRoot.activeFocusItem
and called navRoot.forceActiveFocus(), which works for plain Rectangles
but not for Controls 2 widgets like ComboBox: the combo keeps an internal
focused child that the surrounding FocusScope happily restores, so the
accent focus border on the Position/Center anchor dropdowns lingered
after backing out to the sidebar.

Add an invisible 1x1 navFocusSink Item inside navRoot and force focus
onto it whenever the user leaves the body (h/Esc/Shift-Tab, category
changes from sidebar nav, or panel reopens). The sink reliably owns
activeFocus so every body control \u2014 ComboBox included \u2014 falls back to
its unfocused style.
2026-05-14 02:25:05 -04:00
..
2026-05-11 18:21:45 +02:00
2026-05-11 15:29:31 -04:00
2026-05-06 21:05:34 +02:00
2025-07-15 17:00:11 -07:00
2026-05-02 17:23:14 -04:00
2026-05-08 08:35:28 +02:00
2026-05-11 15:29:31 -04:00
2026-01-31 21:49:07 +01:00
2026-05-11 10:39:22 -04:00
2026-04-29 08:54:40 +02:00
2026-02-26 16:36:32 +01:00
2025-06-01 12:08:35 +02:00