Skip to content

[DatePicker] autoOk prop makes picker not accessible in Firefox #728

Description

@ryanmurakami

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)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions