Skip to content

Commit

Permalink
Turn off scroll anchoring for accordions (#31347)
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
patrickhlauke committed Jul 21, 2020
1 parent 99013a5 commit cc49a5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scss/_card.scss
Expand Up @@ -264,6 +264,8 @@
//

.accordion {
overflow-anchor: none;

> .card {
overflow: hidden;

Expand Down

0 comments on commit cc49a5b

Please sign in to comment.