Skip to content

Cannot read property 'focus' of undefined in DayPicker #630

@speicus

Description

@speicus

Steps to reproduce:

  1. Open https://codesandbox.io/s/23vz0vrn7r
  2. DayPicker will display December, 2018
  3. Click on January 5, 2019 (with is also displayed because of showOutsideDays is true).
  4. Press left cursor key.

Result: An arrow is thrown: "Cannot read property 'focus' of undefined"
Expected result: the focus moves from January 5 to January 4.

daypicker-focus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions