Posts posted by Bogdan Kostyuk
I was exploring smooth scrolling and scrolltrigger, found beautiful library called asScroll, tryied to add it to my Nuxt.js project.
It kinda works, but scroll trigger is updating it's state only when scrolling is stopped, so the animation with scrub was not so smooth.
Here is a minimal demo on codesandbox
ScrollTrigger + asScroll + Nuxt.js
Well, thank you @OSUblake, that was really helpful.
But why smooth scroller needed to be initialized firstly? I always thought that the reason was in the smoothing library itlself rather then the mounting order.