The solution was to simply use a different library, Lenis.js to be precise.
More info here: Smooth scrolling with sticky elements - #6 by Juan_Prima
The solution was to simply use a different library, Lenis.js to be precise.
More info here: Smooth scrolling with sticky elements - #6 by Juan_Prima