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

[Android] Native frame presenter regression #19574

Open
KikkoMax opened this issue Feb 21, 2025 · 0 comments · May be fixed by #19587
Open

[Android] Native frame presenter regression #19574

KikkoMax opened this issue Feb 21, 2025 · 0 comments · May be fixed by #19587
Assignees
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@KikkoMax
Copy link

KikkoMax commented Feb 21, 2025

Current behavior

Introduced by #19094

When navigating to a new page, old page exit animation is executed, then old page is hidden before the new page animation is fired. This creates a visual gap where nothing is shown for an instant.

When using modals (with Chinook.Navigation for example) this becomes even worse as we see the hidden stack while navigating between pages of a modal.

NativeFrameNav.zip

Expected behavior

When navigating forward, old page exit animation should not be fired, only new page enter animation. Old page can be hidden after new page has finished animation.

When navigating back, new page should become visible under the old page and new page enter animation should not be fired, only old page exit animation.

i.e. visual behavior should be reverted back to what was there before #19094

How to reproduce it (as minimally and precisely as possible)

Included NativeFrameNav solution from Uno.Samples repo with Uno.WinUI set to 5.6.70

Build and run using android device or emulator
Observe visual behavior when navigating forward and back between pages

Then switch back to Uno.WinUI version 5.6.33 and observe difference in behavior on android when navigating between pages.

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

5.6.70

Affected platforms

Android

IDE

Visual Studio 2022

IDE version

17.3.1

Relevant plugins

No response

Anything else we need to know?

No response

@KikkoMax KikkoMax added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants