Closed tyage closed 2 months ago
Name | Link |
---|---|
Latest commit | 22a339edc7d65d621d399eb27b639487b5e916da |
Latest deploy log | https://app.netlify.com/sites/gokarna-hugo/deploys/668fe96bed333a0007ccb25b |
Deploy Preview | https://deploy-preview-225--gokarna-hugo.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
LGTM
@526avijitgupta I've tested on Firefox and Chromium, can you test it as well and merge this ?
Works! Thanks for the fix @tyage
thanks!
Since
scroll-behavior: smooth
is applied in #213 , back to top button didn't work in Google Chrome.This is a known issue that Chrome calls
requestAnimationFrame
in every tick.https://stackoverflow.com/questions/73052119/scroll-behavior-smooth-doesnt-work-on-html-in-chrome
I think there is no need call
smoothScrollToTop
function and just callingwindow.scrollTo
is fine, because we already havescroll-behavior: smooth
.