Fixed
Status Update
Comments
ni...@google.com <ni...@google.com>
ho...@google.com <ho...@google.com>
os...@google.com <os...@google.com> #2
Reproducible in constraintlayout:2.0.0-beta1
There's a workaround on calling stopScroll() on the recyclerview before calling transition to end.
You could also call it some where on a TransitionListener when finishing a transition.
There's a workaround on calling stopScroll() on the recyclerview before calling transition to end.
You could also call it some where on a TransitionListener when finishing a transition.
Description
Hello, I have a bug when using MotionLayout if I want to trigger an animation programmatically after scrolling a RecyclerView. It looks like the animation won't properly animate until the "inercy scrolling" from the RecyclerView has finished, because this won't happen if I scroll a short distance. The animation is tied to OnSwipe transition with the list as anchor point. It works correctly when performing the swiping movement.
I attach a file with a test project able to reproduce the bug, as well as videos showing:
- Expected behaviour
- Wrong, buggy behaviour
- A video showing a real use case where this bug appears
Is there any known workaround to this?
Thank you for your time