Files
hermes-agent/apps
teknium1 3e9ae05fba fix: keep refused focus redirects visible and treat editor-anchored selections as inside
Review follow-up. trackFocus stopped focusin propagation before asking
focusSelectedComposer to redirect; when the selection guard refused, the
element that kept focus had its focusin hidden from React and other root
listeners. Evaluate the guard first and leave the event alone when the
redirect is refused. The guard also resolved the anchor through
parentElement, so a range anchored at the editor element itself was
classified as outside the composer. DESIGN.md now states the rule.
2026-09-16 17:04:28 -07:00
..