material-components / material-components/material-components-android

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

Open
#4,356 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: DatePicker
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Compose Material Catalog views DatePickerSample, DatePickerWithDateSelectableDatesSample, and DateRangePickerSample with increased UI zoom. Trace the non-modal date picker layout and compare it with the dialog version. Done means every day and date in the calendar grid remains fully visible at larger zoom levels.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
accessibility, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.