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

DatePicker year minDate and maxDate not working correctly #4343

Closed
ColadaFF opened this issue May 25, 2016 · 1 comment
Closed

DatePicker year minDate and maxDate not working correctly #4343

ColadaFF opened this issue May 25, 2016 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ColadaFF
Copy link

Problem description

The year component of the date picker doesn't work properly when minDate and maxDate are setted in the component declaration, the div inside the component that has no style, is using the browser default styles, so the height is not the correct to show all the years, as a result of this, the years that are show in the component are less than the selected in the range, this only happens in the min years not in the max years.

Steps to reproduce

  • Go to: DatePicker-docs
  • Select the "Range example"
  • Set a min date of less than 2006
  • Open the DatePicker component of the example and go to year selector
  • You will see something like: screen shot 2016-05-25 at 1 04 06 pm

Versions

  • Material-UI: 15
  • React: 15
  • Browser: Chrome 50.0.2661.102
@mbrookes
Copy link
Member

Closing as dupe of mui/mui-x#7495.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants