Jump to content
Search Community

Content height does not change when navigating to another page with scrollSmoother in Nuxt.js

nicolaseielll test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Thank you for this! It partially solved the problem. Now the page content is the right height but after I navigate back to the previous page, the scroll has been slowed down by 50% + my sticky menu isn't following if I don't refresh the page. What could be causing this?

Link to comment
Share on other sites

Ok, it's working now. The problem was that I had a separate smoother for an image on my index page but the original smoother is in my layouts and that messed things up. So the solution was to add the img smoother to the layout with the original smoother and everything started working.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...