Under Blazor interactive auto, there is an issue with switching between different layouts. #54838
Unanswered
ThomasShiu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, in login.razor, LoginLayout.razor is used. After logging in and switching to Index.razor, Index.razor uses MainLayout.razor. When login.razor executes the login and switches pages under pre-render mode, it will redirect to the root, then redirect back to login.razor.
However, simply refreshing the page in login.razor switches to InteractiveWebAssembly mode, allowing the login process to correctly switch to root /.
Beta Was this translation helpful? Give feedback.
All reactions