Scroll to top after first time revalidatePath() happens #74421
Labels
bug
Issue was opened via the bug report template.
Developer Experience
Issues related to Next.js logs, Error overlay, etc.
Link to the code that reproduces this issue
https://github.com/CodingReaper1/TheWildOasisAdminNextJs
To Reproduce
Current vs. Expected behavior
So I dont want it to scroll to top
further more if I add useOptimistic in all this first revalidatePath() will cause to scroll to top which im trying to fix right now without revalidatePath() optimistic update will be gone anyway
I do not have any code about useOptimistic in my github repo trying out in dev
this is happening both in production and dev
Provide environment information
Which area(s) are affected? (Select all that apply)
Developer Experience
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local), Vercel (Deployed)
Additional context
This is my current code in dev mode about useOptimistic
The text was updated successfully, but these errors were encountered: