mars885 / gamedge

An Android application for browsing video games and checking the latest gaming news from around the world.
Apache License 2.0
683 stars 64 forks source link

Use horizonal sliding animations #140

Closed mars885 closed 2 months ago

mars885 commented 2 years ago

For the horizontal sliding animations to work properly, they require specifying the zIndex for both the entering & exiting animations.

However, from the research done, it seems like it's not possible to specify it inside AnimatedNavHost.enterTransition, AnimatedNavHost.exitTransition, AnimatedNavHost.popEnterTransition, and AnimatedNavHost.popExitTransition as of 0.23.1 version of the Accompanist library.

The Accompanist's issue can be tracked here.