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

Datepicker: year loops around #1442

Open
1 task done
arekon7 opened this issue Jun 14, 2024 · 0 comments
Open
1 task done

Datepicker: year loops around #1442

arekon7 opened this issue Jun 14, 2024 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@arekon7
Copy link

arekon7 commented Jun 14, 2024

Bug already reported?

  • I confirm that I have checked if the bug already has been reported

For which framework/library you are reporting the bug

Angular

Component name

Datepicker

Description

Datepicker calendar "year" loops around. When navigating with "next" button till next year, it shows "1924" as a next year.

Please check video:
Dp-year-issue.webm

Steps To Reproduce

Steps to reproduce were written on 2024-06-14:

  1. Go to https://storybook.seb.io/latest/angular/?path=/docs/components-datepicker--documentation#datepickeroptions page
  2. Open datepicker "Birthday"
  3. Using "Next" arrow navigate through months till the next year

Current Behaviour

Next year is shown as 1924 (first option form the years list)

Expected Behaviour

Disabled over looping to the first year option from list.

@arekon7 arekon7 added the Type: Bug Something isn't working label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant