Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@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.
jb...@google.com <jb...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
jb...@google.com <jb...@google.com>
xs...@gmail.com <xs...@gmail.com> #4
Still not working when animation is created by Fragment.onCreateAnimation(), FragmentManager.enableNewStateManager(false) fix it.
il...@google.com <il...@google.com> #5
Re #4 - please file a new bug with a sample project that reproduces your issue.
xs...@gmail.com <xs...@gmail.com> #6
After I remove
setSharedElementEnterTransition(transition);
setSharedElementReturnTransition(inflater.inflateTransition(android.R.transition.move));
It's ok now, seems that fragment animation cannot coexist with shared element transition in 1.3.3
setSharedElementEnterTransition(transition);
setSharedElementReturnTransition(inflater.inflateTransition(android.R.transition.move));
It's ok now, seems that fragment animation cannot coexist with shared element transition in 1.3.3
Description
Version used: androidx.fragment:fragment-ktx:1.3.2
Devices/Android versions reproduced on: Google Pixel, API 29
As you can see from attached videos, hide transition doesn't work with a new state manager - fragment view just disappears immediately. Show transition from back stack works as expected in both cases.
This bug can be temporary "fixed" by using an old state manager:
FragmentManager.enableNewStateManager(false)