-
Notifications
You must be signed in to change notification settings - Fork 2k
ContentPage with ToolbarItem Clicked event leaks when presented as modal page #34892
Copy link
Copy link
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosregressed-in-10-preview1s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosregressed-in-10-preview1s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
A
ContentPagethat has aToolbarItemwith aClickedevent handler is not garbage collected after being dismissed when presented modally viaNavigation.PushModalAsync. The same page is collected correctly when pushed viaNavigation.PushAsync.Steps to Reproduce
ContentPagewith aToolbarItemthat has aClickedevent handlerNavigation.PushModalAsync(new NavigationPage(page))Navigation.PopModalAsync()Link to public reproduction project repository
https://github.com/Vetle444/MauiTestApp/tree/toolbarMemoryLeak
Version with bug
10.0.50
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android, iOS
Affected platform versions
No response
Did you find any workaround?
Use Command instead
Relevant log output