Dropdown: do not select first option automatically unless using keyboard navigation (backport of #10755)#10866
Merged
Merged
Conversation
unless it's selected using keyboard navigation (microsoft#10755) * do not select first option by default for non-aria case * update snapshots * code cleanup * yarn change * add Aria doc link inline * simplify to use one class vars rather than two
Asset size changes
Baseline commit: 6a14b4509ce477f38ae05856f19bad198374d08d (build) |
Contributor
Author
|
@ecraig12345 @dzearing |
joschect
previously approved these changes
Oct 16, 2019
joschect
approved these changes
Oct 16, 2019
xugao
approved these changes
Oct 17, 2019
Contributor
|
Reopening to trigger new build |
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.
backport of PR : #10755
please refer the parent for details
Pull request checklist
$ yarn changeDescription of changes
In case of keyboard navigation to dropdown, per aria guidance, dropdown should select first option by default on focus. But we do not want to do this if user clicked and opened the dropdown.
Microsoft Reviewers: Open in CodeFlow