Fixed
Status Update
Comments
co...@google.com <co...@google.com>
co...@google.com <co...@google.com>
na...@google.com <na...@google.com> #2
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3.adaptive:adaptive-layout:1.1.0-alpha07
androidx.compose.material3.adaptive:adaptive-layout-android:1.1.0-alpha07
androidx.compose.material3.adaptive:adaptive-layout-jvmstubs:1.1.0-alpha07
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.