Skip to content

Range picker Cannot read property 'isSame' of undefined #4106

Open
@connected

Description

@connected
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.4

Environment

Chrome 90

Reproduction link

https://2x.antdv.com/components/date-picker/#DatePicker

Steps to reproduce

  1. Open range picker with presets in the footer
  2. Select first date using mouse
  3. Hover one of the presets in the footer
  4. Hover back on calendar panel and try to select second date using keyboard arrows

What is expected?

No exception should be fired

What is actually happening?

"TypeError: Cannot read property 'isSame' of undefined" exception is fired and visible in dev-tools Console


This issue is reproducible on the ant-design-vue v1 and v2 doc. pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.xversion 1.x2.xfor 2.xbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions