ashthornton / asscroll

Ash's Smooth Scroll 🍑
MIT License
947 stars 27 forks source link

ASScroll should start at a page's previous scroll position rather than lerp to it #57

Open ashthornton opened 3 years ago

ashthornton commented 3 years ago

When automatic history.scrollRestoration is enabled, ASScroll current lerps to the position after being enabled (see #55). It should immediately start at that position.