Chrome 81+ has a very odd bug: when defining 'scroll-snap-type' on an overflowing container, it sets the scroll offset to a random position.
Workaround: setting 'scroll-snap-type' from within an animation seems to fix the issue.
@googlechrome #browser #css #layout #bugpic.twitter.com/Uc76eefCVs
-
-
Done! I also included the link to the tweet showing the video. Also, for future reference, here's an older version of Material for MkDocs without the fix:…https://deploy-preview-1486--mkdocs-material-preview.netlify.app/getting-started/ …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.