Fixed
Status Update
Comments
mo...@google.com <mo...@google.com> #2
I don't know if this is something that can be changed, but I'll look into it.
mo...@google.com <mo...@google.com> #3
Hmm... it is supposed to work like this, but you are seeing a bug.
ap...@google.com <ap...@google.com> #4
It cou8ld be tricky to get this right because the onAnimationEnd()
and onTransitionEnd()
often modify the state. We must execute the Runnable only after the state has been changed to its final value.
I think it could be dangerous to make a change, but it is possible to run all the internal listeners first, then run all of the external ones with the Runnable executed between. Again, it wouldn't be safe because we can't guarantee that only the internal listeners change the system state.
na...@google.com <na...@google.com> #5
Passing to Jeremy to get his thoughts
Description
Version used: 1.5.0-alpha01
Devices/Android versions reproduced on: API 34 device
When doing a Slide transition with Transition version `1.5.0-alpha01`, if you interrupt the transition the exiting View will jump a few pixels before sliding to the proper exit location creating an undesired effect. I am using a horizontal (Gravity.START) so it is unclear why the View would change vertically at all.
To reproduce, launch the app and click the next button and right before the transition completes, press it again.
I would expect that behavior to be consistent with what was in previous version which is no jump, and the transition smoothly reversing.