Skip to content

Conversation

@JayGeorge
Copy link

Related to #13233, this fixes page focus state when navigating around the CP with Inertia.

Usually, the focus state would be reset on each page load, but Inertia keeps keyboard focus it in its current position, which is undesirable.

This PR loads checks explicitly-set focus states first.
If no focus state is set, then we fall back to setting keyboard focus on the #main-content

This along with #13356 should close #13233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[6.x] Command palette button styling suggest you can type in it

2 participants