Skip to content

Pointer Offset Scroll Header

Pointer offsets are useful for manually scrolling containers with [ScrollableState], when the pointer is already involved in another interaction. For example drag and drop or a long press.

@Composable
fun Modifier.pointerOffsetScroll(
    state: PointerOffsetScrollState,
) {
    ...
}
Composable
Pointer Offset Scroll pointer offset list scroll pointer offset grid scroll pointer offset staggered grid