Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Fix viewport smooth scroll-behavior #24

Merged

Conversation

matpassmore
Copy link
Contributor

The 'scroll-behavior' property of the HTML body element is not
propagated to the viewport. When applied to the root element, it applies
to the viewport.

See https://drafts.csswg.org/cssom-view/#smooth-scrolling

The 'scroll-behavior' property of the HTML `body` element is not
propagated to the viewport. When applied to the root element, it applies
to the viewport.

@link https://drafts.csswg.org/cssom-view/#smooth-scrolling
@Andy-set-studio
Copy link
Owner

Oh cool, TIL! Thank you very much :)

@Andy-set-studio Andy-set-studio merged commit 7be24c2 into Andy-set-studio:master Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants