-
Notifications
You must be signed in to change notification settings - Fork 1.9k
EventArgs.Cancel does not prevent navigation when canceling on OnNavigating event. #28539
Copy link
Copy link
Open
Labels
area-navigationNavigationPageNavigationPagepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/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
When canceling the navigation OnNavigating Event does not work for the below navigations
- TabBar - Tab - ShellContent
- TabBar - ShellContent
- FlyoutItem - TabBar- ShellContent
- FlyoutItem - ShellContent
Steps to Reproduce
- Create a sample with ShellPage with TabBar - Tab- ShellContent
- Override a navigating event and cancel a navigation based on the OriginalString
Excepted output: Navigation should be canceled
Actual output: The navigated event is triggered and navigation is completed
CancelIssue.zip
Link to public reproduction project repository
No response
Version with bug
9.0.50 SR5
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-navigationNavigationPageNavigationPagepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/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