Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Jetpack Compose version: 1.7.1
Material Library Version (M2, M3 or Both?): M3
Material Compose component used: OutlinedTextField
Kotlin version: 2.1.0
The placeholder on
OutlinedTextField
jumps when minLines is something greater than 1.Public reproducer:https://github.com/vanniktech/playground/pull/293
This is tested on my Pixel 6 Pro with Android 14, in some simulator versions this is not an issue so it seems to be something specific.
Essentially if the
minLines
is set to 5 and you start enteringP
, the enteredP
isn't 100% aligned with theP
of the placeholder. You can also see that the cursor is jumping.This isn't an issue when
minLines
is set to 1. Regardless, this should also work with a multi line text field.