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

Unable to select Year when min and max dates are less than 1 year and overlap 2 unique years #3044

Open
1 of 3 tasks
kg-and-digital opened this issue Nov 13, 2024 · 1 comment
Labels

Comments

@kg-and-digital
Copy link

kg-and-digital commented Nov 13, 2024

Description

When I set a min and max dates than are less than 1 year but span over 2 unique years, I expect to be able to select both years in the Year View. Instead it only allows 1 year to select (the later one)

Link to Reproduction (or Detailed Explanation)

https://codesandbox.io/p/devbox/black-sun-gc88nf

Steps to Reproduce

  1. Click on 'February 2019' button twice to take you to Year View
  2. Click on year 2018 (no effect) year is not selected
  3. Click on year 2019 - selects year as expected.

Expectation is both years should be selectable.

Ark UI Version

4.4.4

Framework

  • React
  • Solid
  • Vue

Browser

Google Chrome

Additional Information

No response

@kg-and-digital
Copy link
Author

kg-and-digital commented Nov 27, 2024

Incase anyone looked at the codesandbox demo, I had put the incorrect dates in and have now fixed that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants