Open satejbidvai opened 1 year ago
Scroll to top is still happening when I am using next-query-params@4.2.1. Any solution for that?
next-query-params@4.2.1
I tried using this: https://github.com/pbeshai/use-query-params/issues/13#issuecomment-815577849, but it shows NextRouter was not mounted.
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.
next-query-params
{ scroll: false}
router.push
router.replace
Originally posted by @Electron-2002 in https://github.com/pbeshai/use-query-params/issues/13#issuecomment-1571778457
Any progress on this?
same issue here. have you found a solution?
Same here This works on next@14.0.1 AppRouter principe
next@14.0.1
https://github.com/pbeshai/use-query-params/issues/13#issuecomment-1553274435
Scroll to top is still happening when I am using
next-query-params@4.2.1
. Any solution for that?I tried using this: https://github.com/pbeshai/use-query-params/issues/13#issuecomment-815577849, 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 doingrouter.push
orrouter.replace
.Originally posted by @Electron-2002 in https://github.com/pbeshai/use-query-params/issues/13#issuecomment-1571778457