I’m working on a Jetpack Compose project where I need a full-screen TextField.
However, I’m running into an issue where the cursor hides behind the keyboard when the user types long text. I’ve already tried using Modifier.imePadding()
and Modifier.fillMaxSize()
to ensure the text field adjusts for the keyboard, but the issue persists.
- I’ve applied
Modifier.fillMaxSize()
to make theTextField
take up the entire screen. - I’ve added
Modifier.imePadding()
to handle padding when the keyboard appears.
Despite these attempts, the cursor still hides behind the keyboard when typing long text. I want the text field to remain visible and scrollable, so that the cursor is always in view when the keyboard is open.
You need to sign in to view this answers