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 flyout throws an exception on Android if there's a FragmentLifecycle.Callback #27889

Open
pictos opened this issue Feb 18, 2025 · 0 comments · May be fixed by #27890
Open

Shell flyout throws an exception on Android if there's a FragmentLifecycle.Callback #27889

pictos opened this issue Feb 18, 2025 · 0 comments · May be fixed by #27890
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending regressed-in-9.0.0 t/bug Something isn't working
Milestone

Comments

@pictos
Copy link
Contributor

pictos commented Feb 18, 2025

Description

IF you navigate between flyouts using shell, and have registered a FragmentCallback (For android) your app will crash with

Image

Steps to Reproduce

Run the sample here:

Link to public reproduction project repository

https://github.com/pictos/maui/tree/pj/shellItemRenderer-dialog-issue

Version with bug

9.0.40 SR4

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.100 SR10

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@pictos pictos added the t/bug Something isn't working label Feb 18, 2025
@pictos pictos linked a pull request Feb 18, 2025 that will close this issue
@jfversluis jfversluis added platform/android 🤖 area-controls-shell Shell Navigation, Routes, Tabs, Flyout potential-regression This issue described a possible regression on a currently supported version., verification pending labels Feb 19, 2025
@rmarinho rmarinho added this to the .NET 9 SR5 milestone Feb 19, 2025
@PureWeen PureWeen moved this from Todo to In Progress in MAUI SDK Ongoing Feb 20, 2025
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 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending regressed-in-9.0.0 t/bug Something isn't working
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants