Active state on links lost while loader is resolving #2076
Unanswered
damianstasik
asked this question in
Q&A
Replies: 1 comment 1 reply
-
After upgrading from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to ask whether the behavior I've encountered is expected or if it might be a bug. Here is a simple reproduction of the behavior:
https://stackblitz.com/edit/vitejs-vite-kmsvy5?file=src%252Fmain.tsx
nav.mov
In short: when you navigate through the pages at the bottom, the languages above lose their active state while the loader awaits the promise. This is unexpected for me, as I would expect the active state to remain on the "English" link since the language did not change. Is this a bug? If not, is there any way to opt out of this behavior?
Beta Was this translation helpful? Give feedback.
All reactions