Skip to content

Enable imperative focus#15863

Merged
acoates-ms merged 4 commits intomicrosoft:mainfrom
acoates-ms:enableImperativeFocus
Mar 30, 2026
Merged

Enable imperative focus#15863
acoates-ms merged 4 commits intomicrosoft:mainfrom
acoates-ms:enableImperativeFocus

Conversation

@acoates-ms
Copy link
Copy Markdown
Contributor

@acoates-ms acoates-ms commented Mar 28, 2026

Description

Upstream added support for view.focus, but did so behind a featuregate. The default value of that feature gate is currently false, which disabled view.focus functionality in react-native-windows.

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner March 28, 2026 01:10
@acoates-ms acoates-ms merged commit 433a0f5 into microsoft:main Mar 30, 2026
32 checks passed
@acoates-ms acoates-ms deleted the enableImperativeFocus branch March 30, 2026 03:48
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Mar 30, 2026
* Fix view.focus function

* Change files

* snapshots
@acoates-ms acoates-ms mentioned this pull request Mar 30, 2026
acoates-ms added a commit that referenced this pull request Mar 30, 2026
* Enable imperative focus (#15863)

* Fix view.focus function

* Change files

* snapshots

* Only show focus visuals when using keyboard to move focus (#15864)

* Only show focus visuals when using keyboard to move focus

* Change files

* fix change files

* Revert "fix change files"

This reverts commit f99ebba.
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.

2 participants