Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work scroll #14189

Closed
aslero opened this issue Jun 22, 2022 · 1 comment
Closed

Does not work scroll #14189

aslero opened this issue Jun 22, 2022 · 1 comment

Comments

@aslero
Copy link

aslero commented Jun 22, 2022

Environment

When switching between pages, it will not scroll the page up. Scroll stays in place

Reproduction

When switching between pages, it will not scroll the page up. Scroll stays in place

Describe the bug

When switching between pages, it will not scroll the page up. Scroll stays in place

[Vue warn]: Hydration children mismatch in <div>: server rendered element contains fewer child nodes than client vdom. 
  at <Index onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > key="/trips" > 
  at <BaseTransition mode="out-in" appear=false persisted=false  ... > 
  at <Transition name="page" mode="out-in" > 
  at <RouterView name=undefined route=undefined > 
  at <NuxtPage> 
  at <Default > 
  at <AsyncComponentWrapper > 
  at <BaseTransition mode="out-in" appear=false persisted=false  ... > 
  at <Transition name="layout" mode="out-in" > 
  at <Anonymous> 
  at <App key=1 > 
  at <NuxtRoot>

Additional context

No response

Logs

No response

@danielroe
Copy link
Member

For scrollBehavior, we'll track in #13284.

The error in your console is a hydration error, which is likely an issue in your code, but impossible to diagnose without a reproduction. Feel free to post one in a new issue using this sandbox.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Jun 22, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants