gethugothemes / parsa-hugo

Parsa is a personal blog theme powered by Hugo. It also can be used for portfolio website.
https://gethugothemes.com/products/parsa/?utm_source=parsa_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
157 stars 321 forks source link

Update smooth-scroll plugin to v1.4.10 to fix jittery scrolling #24

Closed snix0 closed 4 years ago

snix0 commented 4 years ago

Updated the smooth-scroll plugin to the latest release (v1.4.10).

This was done in order to fix jittery scrolling in Chrome 73+ introduced due to the following change to wheel and mousewheel event listeners (made these event listeners explicitly passive by default): https://developers.google.com/web/updates/2019/02/scrolling-intervention

With the current version of smooth-scroll, v1.4.6, there are console errors printed every time the user scrolls as well:

err