Sub-chain of ids sharing the focused element’s focus group.
Returns None when focus is outside any group (full chain applies).
Tab and spatial navigation both scope to this so modals trap focus.
Auto-keyed variant of remember: identity is the call site plus an
occurrence index, so state follows a composition position, not an item.
Only safe where the number of calls at this site is fixed across frames —
list items and conditional branches need remember_with_key.
Route a gesture action to the topmost hit region under center,
walking up ancestors until one consumes it. Fallback for gestures that
miss the focused widget, matching Compose routing to the node under the
pointer. Coordinates are physical px, like HitRegion::rect.
Record the focusable ids in declaration/layout order for the frame being
painted. Called by the layout engine before hit regions are reordered for
hit testing.