You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HotReload][Uno Navigator] Page Content is gone when Reload is triggered #80
This will be a limitation of navigation for the initial release of HD due to the need to maintain more complex state. If you use pages for the content inside the navigationview, only the page content should be updated, without reloading the entire page
@nickrandolph ehm... dont know if you did understood this correctly...
My Problem is not with HotDesign, while its of course happening there to, but with the Hot Reload feature. Had this already before HD was not even released at all, just did think it was my mistake. Investigated but my code seemed to be alright as far as I can tell.
So... I did not read anywhere, that with just Hot Reload, its normal and you e.g. update something in the grid row above the navigation view, where you might see the native SecondPage "as is" or any other Page, this content of the Navigation View should be gone? Imagine the behaviour as if the Navigator would just "forget" what Navigation Content you might see there before reloading.
was told studio repository is also meant for Hot Reload issues from the restructuring of both HD and HR below Studio in Docs
@nickrandolph State update for this:
Still present with sdk version 6.0.146
As its coming from the hot Reload which is used by Hot Design, both are affected but not buil breaking.
Would count it as "Consumer Expirience - would be Nice to get this fixed" as the workaround seems to be, to click on another navigationViewItem and again on the one from before.
Are there any known reasons for this to be happening? Is this resulting from the Uno Navigator or Mvux Source Gen or from MS themselves so that Uno can maybe not fix it?
I could think of that might be reasoned through a too early update of the content through the navigator 🤔 do you know if thats possible?
As the DataContext is even without using Hotreload in mvux apps especially unreliable and not passed in directly correct, to me that could be maybe resulting in this behavior...
Activity
nickrandolph commentedon Apr 29, 2025
This will be a limitation of navigation for the initial release of HD due to the need to maintain more complex state. If you use pages for the content inside the navigationview, only the page content should be updated, without reloading the entire page
DevTKSS commentedon Apr 29, 2025
@nickrandolph ehm... dont know if you did understood this correctly...
My Problem is not with HotDesign, while its of course happening there to, but with the Hot Reload feature. Had this already before HD was not even released at all, just did think it was my mistake. Investigated but my code seemed to be alright as far as I can tell.
So... I did not read anywhere, that with just Hot Reload, its normal and you e.g. update something in the grid row above the navigation view, where you might see the native SecondPage "as is" or any other Page, this content of the Navigation View should be gone? Imagine the behaviour as if the Navigator would just "forget" what Navigation Content you might see there before reloading.
was told studio repository is also meant for Hot Reload issues from the restructuring of both HD and HR below Studio in Docs
DevTKSS commentedon Jun 29, 2025
@nickrandolph State update for this:
Still present with sdk version 6.0.146
As its coming from the hot Reload which is used by Hot Design, both are affected but not buil breaking.
Would count it as "Consumer Expirience - would be Nice to get this fixed" as the workaround seems to be, to click on another navigationViewItem and again on the one from before.
Are there any known reasons for this to be happening? Is this resulting from the Uno Navigator or Mvux Source Gen or from MS themselves so that Uno can maybe not fix it?
I could think of that might be reasoned through a too early update of the content through the navigator 🤔 do you know if thats possible?
As the DataContext is even without using Hotreload in mvux apps especially unreliable and not passed in directly correct, to me that could be maybe resulting in this behavior...