androidx.compose.foundation.relocation

bringIntoViewRequester

Function · from org.jetbrains.compose.foundation:foundation:1.12.2

No hand-written docs yet.

Modifier that can be used to send bringIntoView``BringIntoViewRequester.bringIntoView requests.

Parameters

fun Modifier.bringIntoViewRequester(bringIntoViewRequester: BringIntoViewRequester): Modifier

bringIntoViewRequester: BringIntoViewRequesterRequired

An instance of BringIntoViewRequester. This hoisted object can be used to send bringIntoView requests to parents of the current composable.

Library docs

Modifier that can be used to send bringIntoView``BringIntoViewRequester.bringIntoView requests.

The following example uses a bringIntoViewRequester to bring an item into the parent bounds. The example demonstrates how a composable can ask its parents to scroll so that the component using this modifier is brought into the bounds of all its parents.