Skip to content

Commit be8ec07

Browse files
committed
Propagate the aria-disabled state to the overflow menu
1 parent d0c4db2 commit be8ec07

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/small-olives-sing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sl-design-system/tool-bar': patch
3+
---
4+
5+
Propagate the `aria-disabled` state to the overflow menu.

packages/components/tool-bar/src/tool-bar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class ToolBar extends ScopedElementsMixin(LitElement) {
130130
childList: true,
131131
subtree: true,
132132
attributes: true,
133-
attributeFilter: ['disabled']
133+
attributeFilter: ['aria-disabled', 'disabled']
134134
});
135135
this.#resizeObserver.observe(this);
136136
}

0 commit comments

Comments
 (0)