Label positioning issue in BasicTextField on focus jetpack compose
I'm encountering an issue with the label in BasicTextField
in Jetpack Compose. When the text field gains focus (either by clicking or tapping), the label's height behaves strangely and does not transition or move correctly unless I start typing text into the field.
You can find the complete code implementation in my GitHub repository: BasicTextFieldExample - MainActivity.kt
The library versions I'm using are specified here: libs.versions.toml
Is this a bug with BasicTextField
, or is there a workaround to fix the label's behavior so it transitions properly on focus, even when no text is entered?
Any insights or suggestions would be greatly appreciated!
You can watch the problem from here.
Source: View source