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

Changing CommandBarFlyout to not take keyboard focus when opened in transient mode #6844

Merged
merged 5 commits into from
Mar 18, 2022

Conversation

llongley
Copy link
Member

CommandBarFlyout was changed to unconditionally give keyboard focus to the first focusable command when it opens. This breaks the assumption when opening in transient mode that the flyout won't take keyboard focus in that mode. We should only give keyboard focus when opening in standard mode.

Also added a test to make sure that this doesn't regress in the future.

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Mar 17, 2022
@llongley
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

test/testinfra/MUXTestInfra/Common/InputHelper.cs Outdated Show resolved Hide resolved
test/testinfra/MUXTestInfra/Common/InputHelper.cs Outdated Show resolved Hide resolved
test/testinfra/MUXTestInfra/Common/InputHelper.cs Outdated Show resolved Hide resolved
test/testinfra/MUXTestInfra/Common/InputHelper.cs Outdated Show resolved Hide resolved
@ojhad ojhad added team-Controls Issue for the Controls team area-CommandBarFlyout and removed needs-triage Issue needs to be triaged by the area owners labels Mar 17, 2022
@llongley
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@RBrid RBrid self-requested a review March 18, 2022 00:34
@llongley llongley merged commit 0926753 into main Mar 18, 2022
@llongley llongley deleted the user/llongley/CommandBarFlyoutFocusFix branch March 18, 2022 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CommandBarFlyout team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants