GeezerVison is showing github.com — Add Separators between Command Bar Groups by cbowdoin · Pull Request #2258 · microsoft/fluentui-apple
Conversation
cbowdoin
commented
Mar 30, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Platforms Impacted
Description of changes
Currently there is no meaning for what a group means in a command bar. Lets fix this by separating each group to have a separator that is displayed between each group. We will only add the separator if we have more than 1 group otherwise we will show no separator.
Verification
Tested the presentation of the separators between groups in the demo app
Visual Verification
| Before |
After |
 |
 |
Pull request checklist
This PR has considered:
- Light and Dark appearances
- Internationalization and Right to Left layouts
- Different resolutions (1x, 2x, 3x)
- Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
add a showsSeparator property on command bar defaulting to false to preserve existing behavior.
@objc public var showsSeparators: Bool = false {
didSet {
leadingCommandGroupsView.showsSeparators = showsSeparators
mainCommandGroupsView.showsSeparators = showsSeparators
trailingCommandGroupsView.showsSeparators = showsSeparators
}
}
pass it through to the command groups
var showsSeparators: Bool = false {
didSet {
if showsSeparators != oldValue {
updateButtonsShown()
}
}
}
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
cbowdoin
changed the title
[Draft] Add separators between Command bar groups
[Draft] Add Separators between Command Bar Groups
Mar 30, 2026
add a showsSeparator property on command bar defaulting to false to preserve existing behavior.
@objc public var showsSeparators: Bool = false {
didSet {
leadingCommandGroupsView.showsSeparators = showsSeparators
mainCommandGroupsView.showsSeparators = showsSeparators
trailingCommandGroupsView.showsSeparators = showsSeparators
}
}
pass it through to the command groups
var showsSeparators: Bool = false {
didSet {
if showsSeparators != oldValue {
updateButtonsShown()
}
}
}
Spoke offline. Decided to show separator by default to give meaning to groupings.
|
joannaquu reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
cbowdoin
changed the title
[Draft] Add Separators between Command Bar Groups
Add Separators between Command Bar Groups
Mar 30, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.