Skip to content

Commit 44afc1e

Browse files
authored
Fix ActionGroup always collapsed button label (#1415)
1 parent 70e4028 commit 44afc1e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/good-files-teach.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@keystar/ui': patch
3+
---
4+
5+
Fixed `buttonLabelBehavior` for `ActionGroup` not passed by `ActionBar`

design-system/pkg/src/action-bar/ActionBar.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function ActionBarInner<T>(
6262
selectedItemCount,
6363
isOpen,
6464
items,
65+
buttonLabelBehavior,
6566
} = props;
6667

6768
let styleProps = useStyleProps(props);
@@ -157,7 +158,7 @@ function ActionBarInner<T>(
157158
aria-label={stringFormatter.format('actions')}
158159
prominence="low"
159160
overflowMode="collapse"
160-
buttonLabelBehavior="collapse"
161+
buttonLabelBehavior={buttonLabelBehavior}
161162
onAction={onAction}
162163
gridArea="actiongroup"
163164
>

0 commit comments

Comments
 (0)