-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Shell BackButtonBehavior binding Command to valid ICommand causes back button to disappear #7045
Comments
Verified repro on Android 12.0 with VS 17.3.0 Preview 1.0 [32427.505.main]. Repro project: |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
The same happens on .NET 7 SR 1. |
Still an issue. This leaves some particular navigation requirements for a client of mine dead in the water. |
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 5.0. Can repro on android platform with sample project. |
Same on .NET 8. |
This is a workaround to fix the color: Which also explains the source of the bug. |
Description
Binding to a valid
ICommand
on Shell.BackButtonBehavior causes back button to disappear on Android (maybe iOS as well, no idea on Windows since it is not currently supported).Steps to Reproduce
BackButtonBehavior
and bindCommand
to a validICommand
on theBindingContext
:BackButtonBehavior
Command
binding to invalidICommand
and observe the back button appears but does nothing since binding is invalidRC3 reproduction repo can be found here:
https://github.com/rjygraham/MauiShellNav
Reproduction video can be found here:
https://raw.githubusercontent.com/rjygraham/MauiShellNav/main/videos/BackButtonBehavior.mp4
Version with bug
Release Candidate 3 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 11
Did you find any workaround?
None yet
Relevant log output
No response
The text was updated successfully, but these errors were encountered: