-
Notifications
You must be signed in to change notification settings - Fork 2.9k
"BaseButton: Add onFocusCapture to the split button container to focus the container instead of doing it in the menu onClick #5934
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
Merged
chang47
merged 17 commits into
microsoft:master
from
chang47:chiechan/stopAgressiveFocusInMenus
Aug 20, 2018
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8f1fce1
added fix for alt + down on menu for a menu button and not just split…
fda1afe
added change file; added comment
20f616d
Merge https://github.com/OfficeDev/office-ui-fabric-react
1dd174c
Merge https://github.com/OfficeDev/office-ui-fabric-react
dcdad51
resolved merge
5515aae
removed unneeded change file
817103b
Merge branch 'master' of https://github.com/OfficeDev/office-ui-fabri…
44b7f2a
removed unnecessary call to put focus on the base button
348cf94
add change files
d088b28
Update chiechan-stopAgressiveFocusInMenus_2018-08-15-02-03.json
chang47 a1aa639
Merge https://github.com/OfficeDev/office-ui-fabric-react into chiech…
959eaa1
Merge branch 'chiechan/stopAgressiveFocusInMenus' of https://github.c…
a45247c
revert previous change with focusing the split button container; cont…
e1902ab
removed unnecessary base button change
4b894b7
add split button container onfocus capture event to keep focus on the…
bb3aa71
get rid of the splitContainerfocus callback; and moved togglemenu spl…
35c1e2b
Updated change list
chang47 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...n/changes/office-ui-fabric-react/chiechan-stopAgressiveFocusInMenus_2018-08-15-02-03.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "office-ui-fabric-react", | ||
| "comment": "BaseButton: Add onFocusCapture to the split button container to focus the container instead of doing it in the menu onClick", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "office-ui-fabric-react", | ||
| "email": "[email protected]" | ||
| } |
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the right fix? It looks like you added it in March to fix some specific issues: #4222
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like we talked offline, we're getting rid of this and instead we're using the onFocus capture event to ensure that focus is set to the SplitButton Container instead of us manually putting it there.