jdtcn / HybridBlazor

Simultaneous Blazor Hosting Models and switching at runtime
MIT License
97 stars 24 forks source link

Browser history navigation broken #7

Closed czorc closed 2 years ago

czorc commented 2 years ago

hi, thank you for your work - the solution is very interesting.

However, I have the issue when navigating between pages and then using the browser back button to navigate to the previous page. The URL is updated, but the page itself is not updated.

Would you have a solution or suggestion to fix this issue?

Many thanks in advance, Christian

Environment:

Test

jdtcn commented 2 years ago

Hi!

Thank you for your interest and for the feedback. Indeed, there was a problem with the handling of popstate event, it turned out to be easy to fix: https://github.com/jdtcn/HybridBlazor/commit/21ff05709e3fa2ed2129cedf382d5ca280cc899e

Also updated the dependencies to the latest versions.

czorc commented 2 years ago

Hi, thank you for the quick fix. had been able to validate it positively the very next day. Thx, christian