Skip to content
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

Shell.BackButtonBehavior interferes with Flyout icon #23015

Open
Pantheas opened this issue Jun 12, 2024 · 3 comments
Open

Shell.BackButtonBehavior interferes with Flyout icon #23015

Pantheas opened this issue Jun 12, 2024 · 3 comments
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 platform/iOS 🍎 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed t/bug Something isn't working
Milestone

Comments

@Pantheas
Copy link

Description

Setting the Shell.BackButtonBehavior property and defining an ICommand interferes with the Flyout menu icon.
On Android, the icon is not shown at all while on iOS the icon is just not working.
The menu can still be shown using the swipe gesture.

Once navigation is done to a nested page and back, the icon is shown correctly but not working.

Steps to Reproduce

  1. Create a new MAUI project
  2. Add a ShellContent and eventually set FlyoutBehavior to Flyout.
  3. Add Shell.BackButtonBehavior to the first ShellContent page that is shown on app start.
  4. Set the Command property to an ICommand.
  5. Start the app --> Flyout icon is not visible

Link to public reproduction project repository

No response

Version with bug

8.0.40 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, I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@Pantheas Pantheas added the t/bug Something isn't working label Jun 12, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@mattleibow
Copy link
Member

I know you have steps here, but since this involves multiple pages and more than a few lines of code, a simple repro of what you are doing will really help.

But is this your issue maybe?

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Nov 27, 2024
@Pantheas
Copy link
Author

Pantheas commented Nov 27, 2024

I know you have steps here, but since this involves multiple pages and more than a few lines of code, a simple repro of what you are doing will really help.

But is this your issue maybe?

Hi,
the issue seems to be quiet similar.
However I am using the Shell Flyout.
If Shell.BackButtonBehavior is set, the FlyoutIcon is not visible on Android. After navigation occurred, the icon is drawn but not.
On iOS, the icon is visible but not working.

Feel free to take a look at my sample project.

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue s/no-recent-activity Issue has had no recent activity labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 platform/iOS 🍎 s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants