CollapsingToolbarScaffold consumes horizontal flings
Closed this issue · 0 comments
sunian commented
When a CollapsingToolbarScaffold is wrapping a horizontally scrolling component, then horizontal flings on it do not work. For example, consider a vertical feed with horizontal shelves :
CollapsingToolbarScaffold {
LazyColumn {
LazyRow
LazyRow
LazyRow
}
}
In this set up, vertical flings on the LazyColumn works just fine, but horizontal flings on any of the LazyRows do not work. I believe this is caused by the ScrollStrategy
implementations always consuming the full horizontal velocity of flings, when they should consume none of the horizontal velocity.