Description
When the autoOk prop is added to a DatePicker component, keyboard accessibility is messed up with the DatePicker. When pressing the space key on a date picker element, the modal opens and then immediately closes, selecting the current day.
Link to a gist or code sample where the issue can be reproduced
https://react-md.mlaursen.com/components/pickers/date
- Use Firefox
- Navigate to the
Auto Ok date picker element
- Press the space key
- Date modal will open and close immediately
Version
- React - 15.6.2
- React-MD - 1.2.13
- Browser - Firefox (Works correctly in Chrome)