pbeshai / use-query-params

React Hook for managing state in URL query parameters with easy serialization.

Home Page:https://pbeshai.github.io/use-query-params

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to disable scroll to top

satejbidvai opened this issue · comments

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)

Any progress on this?

same issue here. have you found a solution?

Same here This works on next@14.0.1 AppRouter principe

#13 (comment)