Skip to content

Commit cc49a5b

Browse files
Turn off scroll anchoring for accordions (#31347)
New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see #31341 This rule suppresses this new behavior and reverts back to the old way. See https://drafts.csswg.org/css-scroll-anchoring/
1 parent 99013a5 commit cc49a5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scss/_card.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@
264264
//
265265

266266
.accordion {
267+
overflow-anchor: none;
268+
267269
> .card {
268270
overflow: hidden;
269271

0 commit comments

Comments
 (0)