material-components / material-components-android

Modular and customizable Material Design UI components for Android
Apache License 2.0
16.41k stars 3.08k forks source link

[DatePicker] Day of week cut off/hidden with screen zoom #4356

Open julianmka opened 1 month ago

julianmka commented 1 month ago

Description: When using UI/screen zoom is larger than default, the right-most column in the non-modal version of the calendar date picker is cut off or entirely hidden. This does not happen when using the dialog version.

Screenshots showing the date picker where the last day of the week is entirely missing.

Video showing this problem with cut-off or hidden days: https://github.com/user-attachments/assets/5436c5c8-a054-4e42-a5ae-e859463bb9f2

Expected behavior: All days/dates in the calendar grid remain fully visible when UI zoom is set larger than default.

Source code: Not sure, I'm not an Android developer.

Minimal sample app repro: This is reproducible in the Compose Material Catalog app in the following views (shown in the linked screen recording above): DatePickerSample, DatePickerWithDateSelectableDatesSample, DateRangePickerSample.

Android API version: current

Material Library version: M3

Device: Samsung Galaxy S21 5G, Samsung Galaxy S23, Pixel 8

julianmka commented 8 hours ago

This seems related to work that is in progress according to the Issue Tracker.