darkroomengineering / lenis

How smooth scroll should be
https://lenis.darkroom.engineering
MIT License
7.31k stars 315 forks source link

Lenis is not working with handlebars & vite #359

Open alprnrtrk opened 2 days ago

alprnrtrk commented 2 days ago

I don't have a clear understanding of this bug, but I'm trying to use Lenis in the Vite project, which is also using handlebars. I don't have any errors or warnings, but Lenis is properly set up, and class management is also working properly. 

but somehow the scroll is not working at all.  I used the basic Lenis layout, as shown in the usage section. I am not using GSP or any other scroll-related libraries. 

I don't even know how to properly approach this bug.

Thank you for your time  🙏🏻. 

arzafran commented 2 days ago

can you please share a codesandbox with a minimal environment to replicate the issue?