Bug: Hard reload not triggered when navigating from Interactive page to SSR page via browser back button #54574
Closed
1 task done
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
Milestone
Is there an existing issue for this?
Describe the bug
When navigating from an Interactive page to a Server-Side Rendered (SSR) page in a Blazor web application, a hard reload is supposed to be triggered based on a check within the SSR layout file. This behavior works as expected when navigating through links or button clicks. However, if the user navigates from an Interactive page to an SSR page using the browser's back button, the hard reload mechanism fails to execute.
Additional Context
Expected Behavior
Upon navigating from an Interactive page to an SSR page, whether through direct navigation or via the browser's back button, the hard reload should be consistently triggered based on the HTTPContext check in the SSR layout file.
Steps To Reproduce
Steps to reproduce in Visual studio template project (Blazor Web App With Identity & Global Interaction)
Exceptions (if any)
No response
.NET Version
8.0.200
Anything else?
The text was updated successfully, but these errors were encountered: