Skip to content
New issue

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

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

Already on GitHub? # to your account

Not able to go to last month with arrows #431

Closed
akellbl4 opened this issue Sep 11, 2020 · 5 comments
Closed

Not able to go to last month with arrows #431

akellbl4 opened this issue Sep 11, 2020 · 5 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists stale

Comments

@akellbl4
Copy link

Problem:
I'm trying to make restrictions with minDate and maxDate and I have an issue with maxDate when it's 2020-11-01
When it's 2020-11-01 you are not able to go to December by arrow navigation, but if you go by month view December is available.

Example:
https://codesandbox.io/s/bug-with-max-date-xc9os?file=/src/App.js

@pkimbrel
Copy link

I came to open a similar issue. When I'm in October and my "maxDate" is "2020-11-01" I don't get the "next" arrow to go to November. If my maxDate is "2020-11-02", I get the arrow.

@pkimbrel
Copy link

...additional observation. The same thing happens if I'm in September and have a maxDate of "2020-10-01", however, October has a few days in the view, so I'm still able to select "2020-10-01".

Is the component assuming a few days of the next month are showing? Because in the case of October, 2020, the last day of the month is Saturday, so there are no November dates on the calendar.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2021

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label Oct 4, 2021
@github-actions
Copy link
Contributor

This issue was closed because it has been stalled for 14 days with no activity.

@wojtekmaj
Copy link
Owner

wojtekmaj commented Oct 25, 2021

Duplicate of #485

I know, technically the other way around but I saw #485 first.

@wojtekmaj wojtekmaj marked this as a duplicate of #485 Oct 25, 2021
@wojtekmaj wojtekmaj added bug Something isn't working duplicate This issue or pull request already exists labels Oct 25, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists stale
Projects
None yet
Development

No branches or pull requests

3 participants