JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.63k stars 1.14k forks source link

DatePicker is not rendering properly when inside a container with horizontal padding #3554

Open RodrigoFerreira001 opened 11 months ago

RodrigoFerreira001 commented 11 months ago

Describe the bug When a DatePicker is rendered inside a container, like a column, and this container has horizontal padding, the days are overlapping and it seems that the space of the composable it's not calculated properly.

Affected platforms Select one of the platforms below:

Versions

To Reproduce Steps and/or the code snippet to reproduce the behavior:

Expected behavior The DatePicker be rendered properly, without overlapping days

Screenshots AndroidScreenshot

Simulator Screenshot - iPhone 14 - 2023-08-23 at 01 10 54

AndroidLayoutBounds

Walingar commented 11 months ago

Hello @RodrigoFerreira001 thank you for such informative bug request! Since the issue is reproducible in Android as well, could you please file an issue in Android bug tracker, and post the link here. Thank you!

RodrigoFerreira001 commented 11 months ago

Hey @Walingar! Thank you for the feedback! Here is the Android bug tracker issue link: https://issuetracker.google.com/issues/297122579

Thanks!

okushnikov commented 3 weeks ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.