the animated scroll-to-section is rather too slow for my taste
I agree. The catch is, the browser API we’re using (window.scrollTo) doesn’t have a speed option, so we have to either live with its choice of speed, or implement the animation ourselves.
I agree. The catch is, the browser API we’re using (
window.scrollTo
) doesn’t have a speed option, so we have to either live with its choice of speed, or implement the animation ourselves.