Skip to content

Prevent default to avoid setting focus on SplitButton menu button#3777

Merged
christiango merged 2 commits into
microsoft:masterfrom
manueldosal:PreventDefault_OnMouseDown_SplitButton
Jan 24, 2018
Merged

Prevent default to avoid setting focus on SplitButton menu button#3777
christiango merged 2 commits into
microsoft:masterfrom
manueldosal:PreventDefault_OnMouseDown_SplitButton

Conversation

@manueldosal

Copy link
Copy Markdown
Contributor

Pull request checklist

  • [x ] Addresses an existing issue: Fixes #0000
  • Include a change request file using $ npm run change

Description of changes

1.Click on SplitButton menu button.
2.Press Esc.
Actual: Focus stays in split button
Expected: Focus should go to previous focused element.

Focus areas to test

Tested that focus is set properly.
Made sure that we are able to execute primary action and secondary action of SplitButtons.

@christiango christiango merged commit e3f2856 into microsoft:master Jan 24, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants