In a Blazor 7 web assembly project, _navigationManager_LocationChanged of the following code is being triggered after clicking the links (Login, Sign Up, or Forgot Password). The same event is not being triggered in Blazor 8.
@page "/"@inject NavigationManager _navigationManager@implements IDisposable<h1>Hello, world!</h1><a href="#login">Login</a> |<a href="#signup"> Sign Up</a> |<a href="#forgotpassword">Forgot Password</a>@code { protected override void OnInitialized() { _navigationManager.LocationChanged += _navigationManager_LocationChanged; base.OnInitialized(); } void _navigationManager_LocationChanged(object sender, LocationChangedEventArgs e) { Console.WriteLine("_navigationManager_LocationChanged: " + e.Location); } void IDisposable.Dispose() { _navigationManager.LocationChanged -= _navigationManager_LocationChanged; }}