From: Patrick H. Lauke Date: Tue, 21 Jul 2020 17:17:28 +0000 (+0100) Subject: Turn off scroll anchoring for accordions (#31346) X-Git-Tag: v5.0.0-alpha2~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7bc7a31bbc11c3f9af3ad317581cbd13c7bb5f1;p=thirdparty%2Fbootstrap.git 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/ --- 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;