New Compose Multiplatform components arrived on Composables UICheck it out →

Modifier in Compose Foundation

clipScrollableContainer

Common

Clips bounds of scrollable container on main axis while leaving space for background effects (like shadows) on cross axis.

Last updated:

Installation

dependencies {
   implementation("androidx.compose.foundation:foundation:1.7.0-beta04")
}

Overloads

@Stable
fun Modifier.clipScrollableContainer(orientation: Orientation)

Parameters

namedescription
orientationorientation of the scrolling