AmrJyniat
06/17/2025, 10:31 AMTextField inside ModalBottomSheet. What I'm seeking to do is set focus on the TextField when opening the sheet, so I used:
LaunchedEffect(Unit) {
focusRequester.requestFocus()
}
But as you can see, the sheet shown under the keyboard when opening the sheet for some time, is there a way to ensure the sheet shown above the keyboard always?Jonathan
06/17/2025, 12:17 PMAnthony Mamode
06/17/2025, 12:29 PMJonathan
06/17/2025, 12:34 PMAmrJyniat
06/17/2025, 1:34 PMJonathan
06/17/2025, 2:29 PMHai Nguyen
07/02/2026, 4:00 PMif (sheetState.isVisible) {
focusRequester.requestFocus()
}Jonathan
07/02/2026, 4:09 PMLaunchedEffect with the key equal to sheetState.currentValue .Jonathan
07/02/2026, 4:10 PMHai Nguyen
07/02/2026, 5:14 PMJonathan
07/02/2026, 5:18 PM