DEV Community

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

Collapse
 
davidmarkl profile image
David Markl

I reproduced my Problem.
Here is the Code:
github.com/davidmarkl/locomotive-s...
And here is it in production:
jolly-murdock-e4a35b.netlify.app/

Thread Thread
 
didomarchet profile image
Davide Marchet

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