Describe the bug
When using the infinite pager (loopPages()) with scale (.interactive(scale: xxx)) the first and last elements are not properly scaled up.
To Reproduce
To reproduce this behavior it's enough to add .interactive(scale: 0.6) to the InfiniteExampleView example provided
Expected behavior
I expect to see the next element scaling up when dragging between the first and last elements on the list.
Describe the bug When using the infinite pager (
loopPages()
) with scale (.interactive(scale: xxx)
) the first and last elements are not properly scaled up.To Reproduce To reproduce this behavior it's enough to add
.interactive(scale: 0.6)
to theInfiniteExampleView
example providedExpected behavior I expect to see the next element scaling up when dragging between the first and last elements on the list.
Screenshots / Videos
https://user-images.githubusercontent.com/3084606/160618413-fed09eae-2c1f-4bc3-affb-059d4f3f36fd.mp4
See the video and compare the animation when dragging between:
Environment: