From e7f038497cb715c798df51ad73b96f5fee3e19f0 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Tue, 21 Jul 2020 16:38:20 +0100 Subject: [PATCH] Turn off scroll anchoring for accordions 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/ --- scss/_card.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scss/_card.scss b/scss/_card.scss index 697fe5184a2a..7db0de2212dc 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -220,6 +220,8 @@ // .accordion { + overflow-anchor: none; + > .card { overflow: hidden;