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

Fix #4446: ✨ Added support for up and down arrow key movement in the year picker #19

Merged

Conversation

balajis-qb
Copy link
Collaborator

Description

Linked issue: Hacker0x01#4446

Problem
The Year Picker doesn't support the up and down key navigation like the month picker and the date picker.

Changes
This PR adds support for updating the selected year in the year picker using the up and down arrow keys. It also blocks the default page movement on the press of arrow keys.

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

… of the date picker

- Prevent the default scroll movement when the arrow key is pressed

Closes Hacker0x01#4446
@balajis-qb balajis-qb force-pushed the issue-4446/fix/support-up-down-key-navigation-for-year-picker branch from 8a1ae17 to 01dbc14 Compare April 16, 2024 11:07
@balajis-qb balajis-qb changed the title Fix #4446 ✨ Added support for up and down arrow key movement in the year picker Fix #4446: ✨ Added support for up and down arrow key movement in the year picker Apr 16, 2024
@balajis-qb balajis-qb merged commit 0b19285 into main Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant