From c7bc7a31bbc11c3f9af3ad317581cbd13c7bb5f1 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Tue, 21 Jul 2020 18:17:28 +0100 Subject: [PATCH] Turn off scroll anchoring for accordions (#31346) 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 697fe5184a..7db0de2212 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -220,6 +220,8 @@ // .accordion { + overflow-anchor: none; + > .card { overflow: hidden; -- 2.47.2