Steps to Reproduce or Code Sample to Reproduce:
Use a simple androidx.compose.material3.DatePicker composable, and let the user enter a date which is invalid for the given date validator.
Nothing more needs to be done, and as soon as the last digit is added and the input is considered invalid, the bottom spacing is completely removed and the error message hugs the bottom.
This is a bug specifically because without the error message the spacings look perfectly fine.
Since this library is on the 1.1.0-rc right now, it'd be nice for this to be fixed before the real release if at all possible.
I have attached a before/after screenshot, along with a little video showing this interaction.
Wed May 03 2023 01:19:53 GMT+0300 (Eastern European Summer Time).png
Description
Jetpack Compose version: compiler 1.4.6
Jetpack Compose component used:
androidx.compose.material3:material3:1.1.0-rc01
Android Studio Build: Giraffe
Kotlin version: 1.8.20
Steps to Reproduce or Code Sample to Reproduce: Use a simple
androidx.compose.material3.DatePicker
composable, and let the user enter a date which is invalid for the given date validator.Nothing more needs to be done, and as soon as the last digit is added and the input is considered invalid, the bottom spacing is completely removed and the error message hugs the bottom.
This is a bug specifically because without the error message the spacings look perfectly fine.
Since this library is on the 1.1.0-rc right now, it'd be nice for this to be fixed before the real release if at all possible.
I have attached a before/after screenshot, along with a little video showing this interaction.