I'm trying to simulate the buttery scroll on mac os / ios, often referred to as "inertia scroll" or "momentum scrolling", as you're going through the page.
Everything I found so far uses a transform3d to shift your content around and they manipulate this through some easing js function.
The issue with using a transform3d is that you can't use position: sticky
or position: fixed
anywhere in your app, thanks to this beauty: Positions fixed doesn't work when using -webkit-transform
I'm trying to figure a less intrusive way to build the same functionality, except without the container that all of these libraries are using.
I've tried a lot of things from messing around with the existing window scroll event to emit a new one with smooth scroll, hopefully with the right inertia values, to researching a way to do this via pure css.
Does anyone know if this is even possible?