]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Turn off scroll anchoring for accordions (#31347)
authorPatrick H. Lauke <redux@splintered.co.uk>
Tue, 21 Jul 2020 20:44:41 +0000 (21:44 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2020 20:44:41 +0000 (21:44 +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 07af29c374274adfc5b5c084fb4796c69f01da69..7c35f7ed8f2996ed10aadafbd9f71a2dad99c68a 100644 (file)
 //
 
 .accordion {
+  overflow-anchor: none;
+
   > .card {
     overflow: hidden;