Canno't scroll to the down of my page

Hello everyone,

I watched several topics about this issue, but i can’t figure out where the problem come from

I have an FAQ down on my page, and when i open questions, it seems like i can’t scroll down on my page - idk why, i’m trying to figure out since a day now and i’m asking for your help ahaha

You can find the page right there

https://portfolio-thibautg.webflow.io/accueil-new

https://preview.webflow.com/preview/portfolio-thibautg?utm_medium=preview_link&utm_source=designer&utm_content=portfolio-thibautg&preview=7c4afe0645bd6bd518f72ee3af2cd6b8&workflow=preview

Thanks a lot :heart:

@mayerz Can you please confirm if you are using any custom code in header or body for smooth scrolling? if YES try to remove this code and test again.

Yes, i tried it and it removes the problem, meh, i like this smooth scrolling effect

But thanks a lot :heart:

1 Like

@mayerz

If you like the smooth scrolling effect, here is good news for you

Use this code and let me know if everything is working fine for you or not

Add this script in footer

// Smooth Scroll - Add this script in footer
<script src="https://cdn.jsdelivr.net/gh/studio-freight/lenis@0.2.28/bundled/lenis.js"></script>
const lenis = new Lenis({
  duration: 1.2,
  easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)), // https://www.desmos.com/calculator/brs54l4xou
  direction: 'vertical', // vertical, horizontal
  gestureDirection: 'vertical', // vertical, horizontal, both
  smooth: true,
  mouseMultiplier: 1,
  smoothTouch: false,
  touchMultiplier: 2,
  infinite: false,
})
function raf(time) {
  lenis.raf(time)
  requestAnimationFrame(raf)
}
requestAnimationFrame(raf)

Man, it works, ahaha you saved my smooth scroll i’m so glad

1 Like

Great to hear that the solution worked for you! :innocent:

Thanks a lot @toqeer.94, glad you’ve seen my post, have a nice day :heart:

1 Like

Always welcome. Happy to serve the Webflow community.

@mayerz don’t forget to mark this as solved.