Skip to content

**<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Preserve focus=1 on initial shell loads** #203

Description

@BigSimmo

P2 Badge Preserve focus=1 on initial shell loads

When a shell route is opened directly with ?focus=1 (for example /forms?focus=1 or /services?focus=1, which are generated by the mode-home “Find a form/service” links), this new initial no-op returns before the focus branch below runs. The previous rAF sync focused the shared composer on hard loads as well as client navigations, but now only later search-param changes can focus it, so reloads/new tabs/deep links with focus=1 lose the intended keyboard focus.

Useful? React with 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in #201 (comment)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions