Windows: Focus text field on gaining a11y focus#94898
Merged
fluttergithubbot merged 1 commit intoflutter:masterfrom Dec 9, 2021
Merged
Windows: Focus text field on gaining a11y focus#94898fluttergithubbot merged 1 commit intoflutter:masterfrom
fluttergithubbot merged 1 commit intoflutter:masterfrom
Conversation
On Windows, like on macOS, when the accessibility focus moves onto a text field, the text field should automatically take keyboard focus for typing. Related macOS patch: flutter#78815 Issue: flutter#77838
14233bd to
656b05b
Compare
9 tasks
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 10, 2024
…xtField` (#159823) While going through `TextField` and `CupertinoTextField` I noticed #94898 and #129652 did not make it over to `CupertinoTextField`. This PR brings over those changes to `CupertinoTextField`. On Linux after this change the `CupertinoTextField` now focuses when gaining a11y focus, and unfocuses when losing a11y focus. ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. Co-authored-by: Renzo Olivares <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Windows, like on macOS, when the accessibility focus moves onto a
text field, the text field should automatically take keyboard focus for
typing.
Related macOS patch: #78815
Issue: #77838
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.