Closed lackrin closed 5 years ago
@lackrin Thank you for reporting this issue. I see that you provided some sample code. Do you have capacity to provide a full sample? This helps verifying the fix when the issue is resolved.
I also noticed you explicitly stated that it is a Xamarin.UWP issue, are you seeing this in any other Xamarin targets?
I can try to make a sample app to get the same results. I actually haven't tested with anything else because UWP is our primary platform
Do you have any examples of tab navigation where the tab remains the parent and only the tab content navigates?
On Mar 25, 2019 11:50 AM, Rodney Littles II notifications@github.com wrote:
@lackrinhttps://github.com/lackrin Thank you for reporting this issue. I see that you provided some sample code. Do you have capacity to provide a full sample? This helps verifying the fix when the issue is resolved.
I also noticed you explicitly stated that it is a Xamarin.UWP issue, are you seeing this in any other Xamarin targets?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/reactiveui/ReactiveUI/issues/1983#issuecomment-476308866, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATXZ8ZaKpny9YtgupbvWo9v3XzXnROygks5vaQxsgaJpZM4cHeto.
https://dev.azure.com/LackrinProjects/_git/ReactiveUITabNavigation Sample APP. Problem is that it works and does not replicate the issue. I have noticed though that the View and ViewModels for the subpage are not being disposed of. I suspect this is the root of my issue, can you please verify?
I will pull this down this evening and see if I can make sense of it. Thank you for taking the time to create the sample. Appreciated.
Sorry, found issue with slowdown, it was of my own doing. Had an event being added recursively
Still the Model not disposing is an issue still.
Describe the bug When implementing Xamarin Forms Tab Navigation, where each tab is a page with its own navigation, the app will quickly start to Slow down on navigations, where the first navigation will be instant, but the 5th will take seconds.
Steps To Reproduce Provide the steps to reproduce the behavior: setup a tab page with each tab having its own routedviewhost
Expected behavior you should navigate to the next page, but the tabs persist. This works, except for the fact that each navigation takes longer and longer, until the point where the app will no longer respond. Pages/VM are never GC'ed.
Environment(please complete the following information):