-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IsEnabled does not work in BackButtonBehavior #28722
Copy link
Copy link
Labels
area-controls-shellShell Navigation, Routes, Tabs, FlyoutShell Navigation, Routes, Tabs, Flyoutplatform/androidplatform/ioss/needs-attentionIssue has more information and needs another lookIssue has more information and needs another looks/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
area-controls-shellShell Navigation, Routes, Tabs, FlyoutShell Navigation, Routes, Tabs, Flyoutplatform/androidplatform/ioss/needs-attentionIssue has more information and needs another lookIssue has more information and needs another looks/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
If I use this code
and set IsBackButtonEnabled to false in the VM, the back button does not disable. IsVisible, on the other hand, works correctly
@kubaflo you have already worked to solve BackButtonBehavior problems; can you take a look to this, thanks!
Steps to Reproduce
Run the sample. press the button should open a new page where is present the back button
Link to public reproduction project repository
https://github.com/acaliaro/MauiIsEnabledDoesNotWorkInBackButtonBehavior
Version with bug
9.0.50 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
ios 18.2.1, android 13.0
Did you find any workaround?
no
Relevant log output