I want a scrollable view which I'm doing by using the verticalScroll
modifier on a column.
Column(modifier = Modifier.verticalScroll(rememberScrollState())) {
// ... I could provide more detail about the contents here but I don't think it matters.
}
When I start scrolling vertically, the view will allow horizontal over scroll and stretch the view horizontally. This doesn't seem like desirable behavior to me.
Is there anyway to stop this behavior from happening?
You can try disabling the overscroll via CompositionLocal directly scoping the
Column
or set it in
Activity
levelWithout overscroll using CompositionLocalProvider setting it to null (not-stretching)
With overscroll (stretching)