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

Unable to disable scroll to top #267

Open
satejbidvai opened this issue Jun 1, 2023 · 3 comments
Open

Unable to disable scroll to top #267

satejbidvai opened this issue Jun 1, 2023 · 3 comments

Comments

@satejbidvai
Copy link

Scroll to top is still happening when I am using next-query-params@4.2.1. Any solution for that?

I tried using this: #13 (comment), but it shows NextRouter was not mounted.

I think next-query-params is scrolling to top by default as { scroll: false} has not been used while doing router.push or router.replace.

Originally posted by @Electron-2002 in #13 (comment)

@satejbidvai
Copy link
Author

Any progress on this?

@adrivelasco
Copy link

same issue here. have you found a solution?

@benistary
Copy link

benistary commented Nov 14, 2023

Same here This works on next@14.0.1 AppRouter principe

#13 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants