Closed xavimolloy closed 7 months ago
Please, create the issue in the Jetpack Compose tracker: https://issuetracker.google.com/issues/new?component=612128. The Android target is maintained there. Also, better to describe the issue there in more detail, with a code snippet, steps, actual and expected behaviour.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug A clear and concise description of what the bug is.
Compose multiplatform datepicker does not respect allowed year range when consuming the android artifact form an android app.
It works as expected when testing it in the library but behaves differently when consuming it from an android app.
i've noticed that this also happens with things like colors and paddings, sometimes it works fine from the multiplatform project library, but behaves differently when consuming the actual component.
Affected platforms
Versions
To Reproduce Steps and/or the code snippet to reproduce the behavior:
create a custom Datepicker for a Multiplatform library that allows you to pass the year range as a parameter consume the component from an android device Observe that the allowed year range is not detected and goes to default
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.