darkroomengineering / lenis

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

On very first load of the website, not able to scroll till the end #308

Closed EmpChirag closed 3 months ago

EmpChirag commented 4 months ago

Hello there, I am new to lenis. I have implemented lenis with gsap in my react website but on the very first load of my website, I am not able to scroll till the bottom some height remains and scroll stops before the bottom. Help will be appreciated. Thanks.

Here is my website url. https://solusent.com/

clementroche commented 4 months ago

Remove the height you used on html and body, it's falsing the dimensions

EmpChirag commented 4 months ago

hi @clementroche , thanks for the quick response. I have added that height for testing only even without it, still same issue is there. please check I have removed the height now.

clementroche commented 4 months ago

your body is still height:100vh, this is wrong

EmpChirag commented 3 months ago

@clementroche thanks, It is working proper now.