https://kotlinlang.org logo
Title
p

PHondogo

04/27/2023, 9:35 AM
Hello! Faced with supportingText became 'hidden' in material3 OutlinedTextField when text lines of main text are not feet in available space. How to force reserve space for supportingText in such cases?
Example code:
OutlinedTextField(
  value = buildString {
    repeat(500) {
        append("test$it\n")
    }
  },
  onValueChange = {},
  supportingText = { Text("Supporting text") } // not visible when value line count more then available space height
)
Modifier.height and Modifier.requiredHeight for supporting text not changing this situation
a

Ale Stamato

04/27/2023, 12:32 PM
Tested on Android and Desktop JVM Linux.