From: Patrick H. Lauke Date: Tue, 21 Jul 2020 20:44:41 +0000 (+0100) Subject: Turn off scroll anchoring for accordions (#31347) X-Git-Tag: v4.5.1~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc49a5b506cdf0094f1517ea4bf6ac6e7a248b44;p=thirdparty%2Fbootstrap.git 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/ --- diff --git a/scss/_card.scss b/scss/_card.scss index 07af29c374..7c35f7ed8f 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -264,6 +264,8 @@ // .accordion { + overflow-anchor: none; + > .card { overflow: hidden;