Fixed
Status Update
Comments
an...@google.com <an...@google.com>
le...@google.com <le...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks! This looks like a bug, thank you for reporting!
na...@google.com <na...@google.com> #3
I would also recommend setting the value to 10%. When you do that, the behavior is wild.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Description
Jetpack Compose version: 1.6.7, 1.7.0-alpha08
Jetpack Compose component(s) used: HorizontalPager, VerticalPager
Android Studio Build: AI-233.14808.21.2331.11709847
Kotlin version: 1.9.23
When trying to scroll past the last page in a Pager (both Horizontal and Vertical), Pager performs the overscroll and then snaps to a place somewhere between the last and second last page. The place is not the same every time and seems to depend on fling speed.
PageSize.Fixed
, cannot reproduce with the defaultPageSize.Fill
Expected behavior: after overscroll, pager snaps to the last page
Code used to reproduce the issue: