overScrollOutOfBound

@Stable
fun Modifier.overScrollOutOfBound(isVertical: Boolean = true, nestedScrollToParent: Boolean = true, isEnabled: () -> Boolean = { platform() == Platform.Android || platform() == Platform.IOS }): Modifier

Overscroll effect when scrolling to the boundary.

Parameters

isVertical

Whether the overscroll effect is vertical or horizontal.

nestedScrollToParent

Whether to dispatch nested scroll events to parent.

isEnabled

Whether the overscroll effect is enabled. Default is enabled on Android and iOS only.