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

[MaterialDatePicker] Clicks on arrows for navigating between months ignored when done in rapid succession

Open
#4,552 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

On the theme of efficiency of data entry for date selection: When user wants to navigate to a date several months in the past or the future, and clicks on the arrows rapidly to do so, every second click is ignored, because clicks are only taken into account once the animation finishes. The swipe gesture does not suffer from this, but is demanding more effort.
Problem can be observed both in current release 1.12.0 and when building the app from master branch.

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 rapid clicks on the MaterialDatePicker month-navigation arrows in release 1.12.0 and the master branch, then trace how arrow clicks interact with the month-change animation. Done means consecutive rapid clicks advance through each requested month without ignored clicks, while swipe navigation continues to work.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.