I just migrated to navigation compose version 2.7.3 and am trying to implement the new animations. My issue is the animations don't work on some of the screens and is always the default fade animation.
I've tried to update both the NavHost animations and each individual composable for enterTransition, exitTransition, popEnterTransition, popExitTransition but its still the default. Is there something I'm missing?
You can checkout this sample implementation(working proper for me)
First, define transitions like below:
And use slideComposable function instead of composable() inside NavGraph: