Lucas Kivi
07/15/2024, 8:47 PMAnchoredDraggableState
a decayAnimationSpec
. I have tried a few specs for this, but they have given me very strange and buggy results. Any advice on how to achieve parody with the old implementation where we weren’t required to provide these?Lucas Kivi
07/15/2024, 8:51 PMDecayAnimationSpec
is very strange. The docs don’t point me to any provided set of implementations.
I found this rememberSplineBasedDecay<Float>()
by searching through a Chris Banes repo.
It is pretty clear to me that this is the source of fairly serious UI jank. Based on all my testing, I understand what it this parameter does, but it difficult to tell from the documentation what this parameter is actually doing:
> The animation spec that will be used when flinging with a large enough velocity to reach or cross the target state.
It is crossing the target state?
Ultimately, I am not sure I really want to control this, and I am experiencing buggy behavior. Shall I make a bug ticket?Lucas Kivi
07/15/2024, 8:59 PMLucas Kivi
07/16/2024, 2:47 PM