-
Notifications
You must be signed in to change notification settings - Fork 23
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
The usage in a blazor RC1 project breaks the NavigationManager #9
Comments
Hi! Thanks for letting me know. I'd be happy to accept a PR if you have any idea why this might be occurring, but I don't have time to investigate personally at the moment. All the best, |
I have found the same as soon as I use the BrowserHttp sink my navigation just stops. No errors that I can see, nothing printed on the console etc. I dont even know where to start looking. This is my setup and I can see hello browser in the console and in the http endpoint but navigation just does nothing
|
Hi.. So its called 3 times in my workaround: first, to have builder to get config file which is needed to configure BrowserHttp, second BrowserHttp itself (just to get BaseAddess, which may not be necessary), third to build everything else last time to start up correctly. |
Thanks for the analysis, @tusanesen 👍 ... wonder if we can fix this, using some other API, now that Blazor has matured a bit? |
@tusanesen do you care to provide a simple sample of how you do this please |
I can confirm I am seeing the same behavior in the .net 5.0.1 release of Blazor. @eugeneniemand To get around it I do something like this to call the
|
The usage in a blazor RC1 project breaks the NavigationManager.
How to reproduce:
Program.cs
WebAssemblyHostExtensions.cs
Results:
The code above works but breaks the NavigationManager. When the NavigateTo is called, nothing happens.
The text was updated successfully, but these errors were encountered: