Using Flyoutitem and shellcontent the individual tab are not refreshing

Okorie, Josh 21 Reputation points
2022-08-05T22:14:36.607+00:00

So i have an app that i use flyout item to show the hamburger menu and once clicked it will pretty much open the tab with all the shellcontent. The issue am having is once you are clicking on the different shellcontent, it will load the page only once and when you click through it again it doesn't seem to even fire the view model again. You can put a break point and it seems to be loading a cache copy. it will open the page but obviously it seems to be loading it from memory.

Does anyone have any idea why this is happening? It has been hunting me for 4 days now.
228683-image.png

228667-image.png

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,593 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points Microsoft Vendor
    2022-08-06T02:25:59.36+00:00

    Hello,​

    I created a shell project in MAUI. I have the same issue as yours. This issue is reported in the Github:Tabs within the shell do not execute override the OnAppearing method #8102.

    Please wait for update in the GitHub Page. If Product Group fix this issue.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.