androidx.compose.ui.relocation

BringIntoViewModifierNodeSince 1.8

Interface · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

A node that can respond to bringIntoView requests from its children by moving or adjusting its content.

interface BringIntoViewModifierNode : DelegatableNode

Is a

Functions

bringIntoView

fun bringIntoView(childCoordinates: LayoutCoordinates, boundsProvider: () -> Rect?)

Moves or adjusts this node's content so that boundsProvider will be in visible bounds. Must ensure that the request is propagated up to the parent node.

Library docs

A node that can respond to bringIntoView requests from its children by moving or adjusting its content.