MohamedRejeb / Calf

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs with Compose Multiplatform (Adaptive UI, File Picker, WebView, Permissions...).
https://mohamedrejeb.github.io/Calf/
Apache License 2.0
950 stars 42 forks source link

DatePicker is cutoff on the bottom on iOS #163

Closed ZacSweers closed 2 months ago

ZacSweers commented 2 months ago

At first I thought this was a missing padding issue, but finding that even with modifier padding on the bottom it's always cut off when the selection is the bottom row

Repro: https://github.com/ZacSweers/FieldSpottr/pull/48

image

MohamedRejeb commented 2 months ago

Thanks for reporting this. I will check it. Currently, I'm setting the size of the Composable from the UiKit component, which gets applied to the passed Modifier, which causes the cutoff when you set a padding, because the size will remain the same.