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

DateTime2 DatePicker no longer limits month select options when minDate specified #6891

Open
bvandercar-vt opened this issue Jul 2, 2024 · 2 comments

Comments

@bvandercar-vt
Copy link
Contributor

DateTime2 DatePicker no longer limits month select options when minDate specified.

Steps to see:

  1. Go to https://blueprintjs.com/docs/#datetime2/date-picker3
  2. Select min date "1 week ago"
  3. BUG: All 12 months are still displayed as options in the month select. Previously (DateTime 1), months would have been reduced to only the available months.
@evansjohnson
Copy link
Contributor

confirmed locally by changing the datetime example with min date to today's date

Screenshot 2024-07-03 at 4 03 31 PM

I wonder if this is an issue with the underlying react-day-picker library from v7 to v8

@bvandercar-vt
Copy link
Contributor Author

I wonder if this is an issue with the underlying react-day-picker library from v7 to v8

I think so actually. Would need to report the bug there.

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

No branches or pull requests

2 participants