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

Navigation title animation problems #37

Open
martin-reiterer opened this issue Apr 8, 2024 · 1 comment
Open

Navigation title animation problems #37

martin-reiterer opened this issue Apr 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@martin-reiterer
Copy link

Since version 0.1.0-alpha04 it seems that the animations of CupertinoNavigationTitle and CupertinoTopAppBar.title are deferred/flickering. I've adapted SectionsScreen.kt for providing a simple example. The corresponding changes can be found in this patch file: Demonstrate_navigation_title_animation.patch

The following animation problems can be seen in the attached video:

  • During the page change animation the CupertinoTopAppBar.title is displayed and CupertinoNavigationTitle is hidden.
  • When the animation ends CupertinoTopAppBar.title gets hidden and CupertinoNavigationTitle gets visible.
  • When scrolling behind the transluent CupertinoTopAppBar, then the divider seems to be nervous. On fast scrolling, the page titles get visible above the TopAppBar.
Bildschirmaufnahme.2024-04-08.um.17.23.36.mov
@alexzhirkevich
Copy link
Owner

Navigation title is an experimental temporary api that will be replaced with large top bar in the future. To disable blinking you need to add hasNavigationTitle = true for CupertinoScaffold

@alexzhirkevich alexzhirkevich added the bug Something isn't working label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants