Skip to content

Commit a00a0cf

Browse files
committed
fix: prevent split button menu shift on close
1 parent 7fbc4d8 commit a00a0cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/components/SplitButton/SplitButton.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
}
2424

2525
/* Disable press-scale on wrapper while split menu is open
26-
to avoid layout shift on close */
27-
.button:has(button[aria-expanded="true"]) {
26+
to avoid layout shift on close */
27+
.active.splitContentOpen {
2828
transform: none;
2929
}
3030

0 commit comments

Comments
 (0)