🌈 Create new beautiful Compose Gradients with our new wesite ->
Compose Modifier

bringIntoViewRequester

Modifier that can be used to send bringIntoView requests.

bringIntoViewRequester

Source set: Common
public fun Modifier.bringIntoViewRequester(
    bringIntoViewRequester: BringIntoViewRequester
): Modifier

Modifier that can be used to send 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.

Parameters

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