Fixed
Status Update
Comments
il...@google.com <il...@google.com>
jb...@google.com <jb...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
ap...@google.com <ap...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
jb...@google.com <jb...@google.com> #4
This has been fixed internally and will be available in the Fragment 1.3.2
release.
el...@gmail.com <el...@gmail.com> #5
Hi,
Changes in 1.3.2 seems to create issues when using a navController. In our app we navigate between fragments like this:
findMasterNavController().navigate(Uri.parse(deepLink), NavOptions.Builder().setEnterAnim(R.anim.enter_left)
.setExitAnim(R.anim.exit_right)
.setPopEnterAnim(R.anim.enter_right)
.setPopExitAnim(R.anim.exit_left)
.build())
Then when pressing the back button, the exit anim isn't played.
Cheers,
il...@google.com <il...@google.com> #6
Re #5 - please file a new bug with a sample project that reproduces your issue.
pr...@gmail.com <pr...@gmail.com> #7
Re #6 I am also facing same issue exit animations does not work even if i set it from navigation graph and using Direction Classes
el...@gmail.com <el...@gmail.com> #8
#6, seems someone already did it:
jo...@gmail.com <jo...@gmail.com> #9
Same issue here with navController not playing the exit animations properly any longer.
Description
Component used: Fragment
Version used: 1.3.0
Devices/Android versions reproduced on: Pixel 3 XL Android 11
I am observing a case where popExit animation plays instead of exit animation. It happens in the following conditions:
When I debug the fragment library code, what I see is:
Sample project:https://github.com/mkano9/material-container-transform-recycleChildrenOnDetach/tree/popexit-and-exit-reversed
Video attached.