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

[YearSelection] Do not call shouldDisableDate on year selection view for each year #1954

Merged
merged 6 commits into from
Jul 6, 2020

Conversation

dmtrKovalenko
Copy link
Member

@dmtrKovalenko dmtrKovalenko commented Jul 3, 2020

Closes #1899.

Also closes #1774, because we are looking for closest enabled date if the "shifted" date is disabled now.

@vercel
Copy link

vercel bot commented Jul 3, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mui-org/material-ui-pickers/8hmxkxfza
✅ Preview: https://material-ui-picke-git-bugfix-shoulddisabledate-on-yearse-ac7fb4.mui-org.vercel.app

@cypress
Copy link

cypress bot commented Jul 3, 2020



Test summary

77 0 3 0


Run details

Project material-ui-pickers
Status Passed
Commit 0428c8a
Started Jul 6, 2020 11:20 AM
Ended Jul 6, 2020 11:22 AM
Duration 01:30 💡
OS Linux Debian - 10.0
Browser Chrome 80

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@vercel vercel bot temporarily deployed to Preview July 3, 2020 10:29 Inactive
@dmtrKovalenko dmtrKovalenko merged commit e6bfd12 into next Jul 6, 2020
@dmtrKovalenko dmtrKovalenko deleted the bugfix/shouldDisableDate-on-YearSelection branch July 6, 2020 11:32
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.

Year selector calling "shouldDisableDate" Last year is not clickable when use minDate and maxDate
2 participants