-
Hello everyone, If I now click on the Login NavBar Entry, I cannot collapse the NavBar. I think it has to do with the RenderMode for everything in the Account section. The ExpandedChanged event is then not fired. Can someone help me with a solution how to toggle it from the Account Pages (Static Mode)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi, Collapsible on the NavMenu is dependant on Blazor running, so it will not work with SSR mode which the Account pages are using because of the code block you posted. |
Beta Was this translation helpful? Give feedback.
-
Hi and thanks for the response :) The code for RenderModeForPage is generated by the template. It is not written by myself. If I remove the code its still not working. If I set the render mode for the account pages on Interactive Server, the components reload permanently in a loop |
Beta Was this translation helpful? Give feedback.
-
Would leaving the acoount pages in SSR mode an setting a |
Beta Was this translation helpful? Give feedback.
Would leaving the acoount pages in SSR mode an setting a
@rendermode=InteractiveServer
attribute on the call to NavMenu in MainLayout work?