Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile auro-calendar: Setting "value" param on datepicker prevents preceeding months from being visible #213

Closed
arrenleung opened this issue Apr 8, 2024 · 0 comments · Fixed by #214 or #216
Assignees
Labels

Comments

@arrenleung
Copy link
Contributor

Please verify the version of auro-datepicker you have installed

2.4.1

Please describe the bug

  1. Create a datepicker component (range or non-range)
  2. Assign a value attribute to the datepicker
  3. Open the datepicker on a mobile breakpoint to view the full-screen calendar
  4. See that you are unable to scroll to any months before the date set by value

Here I have a plain datepicker with value="05/01/2024" (no other params set), and this is the top-most part of the calendar:
image

Reproducing the error

This issue is reproducible on the Auro docsite

Expected behavior

When setting the value parameter on a datepicker, all months should be visible on the mobile calendar (unless minDate or maxDate is also set).

What browsers are you seeing the problem on?

Chrome, Safari

Additional context

No response

Exit criteria

All months are visible on the mobile datepicker calendar when the value parameter is set to a specific date.

@arrenleung arrenleung added auro-datepicker not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes labels Apr 8, 2024
@Patrick-Daly-AA Patrick-Daly-AA removed their assignment Apr 9, 2024
@jason-capsule42 jason-capsule42 self-assigned this Apr 10, 2024
@Patrick-Daly-AA Patrick-Daly-AA removed the not-reviewed Issue has not been reviewed by Auro team members label Apr 10, 2024
blackfalcon pushed a commit that referenced this issue Apr 24, 2024
# [2.5.0](v2.4.1...v2.5.0) (2024-04-24)

### Bug Fixes

* **layout:** adjust mobile layout issue discovered during dev ([7fcafb8](7fcafb8))

### Features

* **calendar:** add new feature and improve control of rendered calendar months [#213](#213) ([9d1d955](9d1d955))
* **scrolling:** auto-scroll to focusdate when opening the mobile datepicker the first time ([c6f44fd](c6f44fd))

### Performance Improvements

* **tests:** update time comparison to tests to work in any time zone. ([186f16d](186f16d))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants