I got feedback that lazycolumn is more sensitive t...
# compose
a
I got feedback that lazycolumn is more sensitive to scroll than recyclerview. Is it deliberate and is there a way to reduce this?
s
What do you mean by "more sensitive"? Does it scroll more given the same touch input or smth else?
a
Yes, like it scrolls/flings faster with same force. There’s video evidence too.
i
That would be a bit odd, given that the fling code was literally directly ported from the View implementation: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]in/kotlin/androidx/compose/animation/SplineBasedDecay.kt;l=69
If you do have video evidence and a reproducible sample project that shows a RecyclerView and LazyColumn scrolling different amounts given the exact same amount of swipe (something that is possible to do in tests), I'd file a bug against Compose's Animation component to have them take a look: https://issuetracker.google.com/issues/new?component=1070767
a
I’ve created an issue for that. Please take a look. https://issuetracker.google.com/issues/245018255