# androidx.compose.ui.relocation

Common/All

## Interfaces

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/relocation/BringIntoViewModifierNode` | A node that can respond to `https://developer.android.com/reference/kotlin/androidx/compose/ui/relocation/BringIntoViewModifierNode#bringIntoView(androidx.compose.ui.layout.LayoutCoordinates,kotlin.Function0)` requests from its children by moving or adjusting its content. | Cmn |

## Extension functions summary

|---|---|---|
| `suspend https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/node/DelegatableNode.https://developer.android.com/reference/kotlin/androidx/compose/ui/relocation/package-summary#(androidx.compose.ui.node.DelegatableNode).bringIntoView(kotlin.Function0)(bounds: (() -> https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Rect?)?)` Bring this node into visible bounds. | Cmn |

## Extension functions

### DelegatableNode.bringIntoView

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/relocation/BringIntoViewModifierNode.kt+function:bringIntoView) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
suspend fun DelegatableNode.bringIntoView(bounds: (() -> Rect?)? = null): Unit
```

Bring this node into visible bounds. Does nothing if the node is not attached.

This method will not return until this request is satisfied or a newer request interrupts it. If this call is interrupted by a newer call, this method will throw a `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-cancellation-exception/index.html`.

| Parameters |
|---|---|
| `bounds: (() -> https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Rect?)? = null` | provides the bounds (In local coordinates) that should be brought into view. The function may return a different value over time, if the bounds of the request change while the request is being processed. If you don't provide bounds, the whole node bounds will be used. |