> Tip: Please use `TextFieldVerticalScrollState`, passing it to the `scrollState` parameter of `TextField`/`BasicTextField`. This parameter is currently an experimental feature and requires adding `@OptIn(ExperimentalFoundationApi::class)` to the function.
>
> Do not use `ScrollState` and pass it to the `Modifier.verticalScroller`, otherwise it will affect the internal `TextFieldVerticalScrollState` of the `TextField`. As a result, when the cursor goes out of bounds, the `TextField` will not automatically update and scroll up, causing the content of the line where the cursor is located to not appear in the visible area.
```kotlin
@OptIn(ExperimentalFoundationApi::class)
fun main() = singleWindowApplication {
Box(modifier = Modifier.fillMaxSize()) {
val scrollState = rememberTextFieldVerticalScrollState()
var text by remember { mutableStateOf("Text\n".repeat(100)) }