Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication pages cause the app not to update mudblazor layers properly #461

Closed
hixtz opened this issue May 7, 2024 · 3 comments
Closed

Comments

@hixtz
Copy link

hixtz commented May 7, 2024

Just start the project with added authentication pages from default as shown in the image
image

When you are on home page try to click the MudIconButton to Close/Open the drawer, it works.

Then go to the account page to login for example, try to do the same, it doesnt close/open the drawer.

@hixtz
Copy link
Author

hixtz commented May 7, 2024

not_working_blazor.mp4

@Anu6is
Copy link

Anu6is commented May 22, 2024

Authentication pages are statically rendered, as such, interactive components (such as buttons) will not function once the page has been rendered. You can read more https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#static-server-side-rendering-static-ssr.

This is expected Blazor behavior.

@ScarletKuro
Copy link
Member

This is expected Blazor behavior.

As it was said, this is expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants