-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
partner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/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
Description
Description
Maybe this is the expected outcome, however, I believe it makes more sense that the framework disconnects the page's handler even though it is not currently displayed, to avoid memory leaks and consistency.
Only tested on iOS and Android.
Steps to Reproduce
- Clone https://github.com/Vetle444/MauiTestApp/tree/removePageHandler/MauiTestApp
- Run app
- Click either "Test Page Modal" or "Test Page" button
- Navigate to next page
- Click "Remove test page 1"
- Observe that no dialog appears saying that the Handler of Test Page 1 is disconnected.
- If you do a normal back navigation from Test Page 1, the handler is disconnected, as expected.
Link to public reproduction project repository
https://github.com/Vetle444/MauiTestApp/tree/removePageHandler/MauiTestApp
Version with bug
9.0.70 SR7
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
iOS, Android, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
Disconnect handler manually
Relevant log output
bhavanesh2001
Metadata
Metadata
Assignees
Labels
partner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/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