Skip to content

Commit 5bf6a30

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
transform: scale(0.95);
2323
}
2424

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

0 commit comments

Comments
 (0)