Skip to content

Android NavigationPage hides the previous page before back navigation #21187

Open
@leo-mck

Description

@leo-mck

Description

I am trying to change the animation between pages of a NavigationPage on android. For this I override the 4 xml files

nav_default_enter_anim.xml
nav_default_exit_anim.xml
nav_default_pop_enter_anim.xml
nav_default_pop_exit_anim.xml

but it looks like when going back, the previous page fragment are being destroyed before the animation start. This create an ugly effect, even when using the defaults, altough in that case is hard to notice since the animations run faster. I increased the duration of the animations to be able to see the problem:

maui_android_animation.mp4

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/leo-mck/MauiNavigationPageTestApp

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions