Skip to content

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).

@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