]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Turn off scroll anchoring for accordions (#31346)
authorPatrick H. Lauke <redux@splintered.co.uk>
Tue, 21 Jul 2020 17:17:28 +0000 (18:17 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2020 17:17:28 +0000 (18:17 +0100)
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

index 697fe5184a2afa3768dd0f0421372389d374402b..7db0de2212dc39c41a70b5dd2dcafc27ceb810d6 100644 (file)
 //
 
 .accordion {
+  overflow-anchor: none;
+
   > .card {
     overflow: hidden;