Skip to content

Turn off scroll anchoring for accordions#31346

Merged
patrickhlauke merged 1 commit intomainfrom
v5-accordion-suppress-scroll-anchoring
Jul 21, 2020
Merged

Turn off scroll anchoring for accordions#31346
patrickhlauke merged 1 commit intomainfrom
v5-accordion-suppress-scroll-anchoring

Conversation

@patrickhlauke
Copy link
Copy Markdown
Member

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/

Closes #31341

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/
@patrickhlauke patrickhlauke force-pushed the v5-accordion-suppress-scroll-anchoring branch from 9653e98 to e7f0384 Compare July 21, 2020 15:47
@patrickhlauke
Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Member

@MartijnCuppens MartijnCuppens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@patrickhlauke patrickhlauke merged commit c7bc7a3 into main Jul 21, 2020
@patrickhlauke patrickhlauke deleted the v5-accordion-suppress-scroll-anchoring branch July 21, 2020 17:17
olsza pushed a commit to olsza/bootstrap that referenced this pull request Oct 3, 2020
New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see twbs#31341
This rule suppresses this new behavior and reverts back to the old way.

See https://drafts.csswg.org/css-scroll-anchoring/
@Hiws Hiws mentioned this pull request Oct 30, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accordion scroll behavior in Chrome

2 participants