Fixed
Status Update
Comments
co...@google.com <co...@google.com>
co...@google.com <co...@google.com>
na...@google.com <na...@google.com> #2
The predictive back support will be added in our 1.1 version. It's expected to be available in alpha02 or alpha03.
Better motion customization support will also be available in 1.1, so you will be able to easily implement custom predictive back animation.
Currently you will have to provide your own AnimatedPane
implementation to do that.
Description
Snapshot: 12284019
It looks like velocity is not used in pane expansion so, regardless of how fast you fling, it will animate to the nearest anchor the moment the pointer up happens. It would be nice to take into account the velocity for both the animation and deciding the anchor to move to.
Attached is an example with anchors at 0, 25%, 50%, 75%, and 100%. It shows that you can carefully drag to either end and it works as expected but flings just stop abruptly at the nearest point.