Желаемый результат:

Фактический результат:

@Composable
fun CustomOutlinedTextField(
value: TextFieldValue,
onValueChange: (TextFieldValue) -> Unit,
label: @Composable (() -> Unit)? = null,
modifier: Modifier = Modifier,
) {
OutlinedTextField(
value = value,
onValueChange = onValueChange,
label = label,
modifier = modifier
.fillMaxWidth()
.heightIn(min = 56.dp) // Set the minimum height here
.padding(16.dp), // Optional padding for extra space around the field
singleLine = false, // Allow multiple lines if needed
colors = TextFieldDefaults.outlinedTextFieldColors(
focusedBorderColor = Color.Blue,
unfocusedBorderColor = Color.Gray
),
)
}
Подробнее здесь: https://stackoverflow.com/questions/793 ... ding-issue