0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

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/
This commit is contained in:
Patrick H. Lauke 2020-07-21 21:44:41 +01:00 committed by GitHub
parent 99013a5c54
commit cc49a5b506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,6 +264,8 @@
//
.accordion {
overflow-anchor: none;
> .card {
overflow: hidden;