Custom slide animations need fragment reordering #1718
thirteenthstep
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In its current implementation, ScreenStack will reorder fragments only in case of SLIDE_FROM_BOTTOM oder FADE_FROM_BOTTOM animations.
This behavior prevents some custom slide animations, since these will often also need the fragments reorderd, e.g. if the underlying screen ist not moved by 100% oder not moved at all.
I would suggest to add those slide animations as case in needsDrawReordering:
It might even be an option to reorder fragments by default, since it seems only natural that the entering screen should be on top.
Beta Was this translation helpful? Give feedback.
All reactions