From 39f6403fde70e4be2df70e52af0d28d3ff019d32 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 07af29c37427..7c35f7ed8f29 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -264,6 +264,8 @@ // .accordion { + overflow-anchor: none; + > .card { overflow: hidden;