Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev Home]: Keyboard focus goes missing on closing 'Select Folder' window using keyboard #3926

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

ssparach
Copy link
Contributor

@ssparach ssparach commented Oct 4, 2024

Summary of the pull request

This PR fixes the following bug:

  • "Keyboard focus goes missing on closing 'Select Folder' window using keyboard. On invoking 'Close' button in 'Select Folder' window, focus is nowhere visible and on hitting tab/shift+ tab also focus is not visible anywhere."

References and relevant issues

https://microsoft.visualstudio.com/OS/_workitems/edit/53872961

Detailed description of the pull request / Additional comments

During testing, it was observed that focus is also lost when a folder is chosen and the File Explorer window closes.
The fix in this PR ensures that focus is readjusted to the relevant parent UI control after any interaction with File Explorer.

Validation steps performed

Local Build
Unit Tests
Manual testing of fix to confirm focus is regained after the File Explorer window closes

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

@ssparach ssparach marked this pull request as ready for review October 4, 2024 19:37
@ssparach ssparach merged commit 8a43c92 into main Oct 7, 2024
4 checks passed
@krschau krschau added this to the Dev Home v0.19 milestone Oct 7, 2024
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.

3 participants