DEV Community

loading...

Discussion on: How to Locomotive Scroll and Nuxt (with example and gotchas)

didomarchet profile image
Davide Marchet Author

Hi,
the issue is related to the css.
If you remove the overflow: hidden from html and body and you set as sizes {
....
height: 100vh;
overflow: hidden;
}

to .js-locomotive you have the locomotive wrapper and your footer.
But the page will have two scrollbar.

I think It's better use it ad a wrapper.

Have a nice day,

Davide

Forem Open with the Forem app