Skip to content

Page wont show when navigated, but will after returning from background #18031

@orwo1

Description

@orwo1

Description

Migrated app from Xamarin.Forms, 3 projects structure remained.
Our page inherits from ContentPage with some additions on top.
Navigating using NavigationPage, not using Shell.
On Android, user navigate 3 pages after root and gets a white screen.
If we put app in background and return, that last page shows correctly:
qemu-system-x86_64_RfeoE94HqH

While debugging everything loads as should, no error/warning/exceptions, even with the issue.
Not reproduced on iOS.
Currently targeting net7.0-android33 with minimum version 28.0.
Reproduced on multiple Android devices.

Steps to Reproduce

Does not reproduce in new empty maui project.

Link to public reproduction project repository

No response

Version with bug

7.0.86

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-navigationNavigationPagemigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/androids/try-latest-versionPlease try to reproduce the potential issue on the latest public versiont/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions