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
A MAUI Window has a settable Page parameter. If you try to set it from within an existing page (Either by calling the top parent as I do here, or potential through dependency injection), nothing seems to happen. If you notice, the Live Visual Tree does update with the new page, and we do receive VisualTree Change events showing that something happened, but it's not reflected in the running application.
My expectation would either be that you can't replace the existing Window's page, or that if you do, it updates to the new page.
Yep, I see my PR did not do that correctly because I did it wrong. But I just fixed it :) So... "Yeah of course. We just added that feature to the new preview." 🤣
Trying this with 6.0.100-rc.1.1310 in main, it appears to be fixed. After pushing the page on the window, we get the proper events and the live visual tree propagates, and the page actually changes in the app.
Description
A MAUI Window has a settable
Page
parameter. If you try to set it from within an existing page (Either by calling the top parent as I do here, or potential through dependency injection), nothing seems to happen. If you notice, the Live Visual Tree does update with the new page, and we do receive VisualTree Change events showing that something happened, but it's not reflected in the running application.My expectation would either be that you can't replace the existing Window's page, or that if you do, it updates to the new page.
Steps to Reproduce
Expected Behavior
The Window's contents change to reflect the new page.
Actual Behavior
Nothing happens.
Basic Information
Screenshots
maui-new-window-error.mp4
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered: