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

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

Open
1 task done
connected opened this issue May 20, 2021 · 0 comments
Open
1 task done

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

connected opened this issue May 20, 2021 · 0 comments
Labels
1.x version 1.x 2.x for 2.x bug

Comments

@connected
Copy link

connected commented May 20, 2021

  • 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.

@zkwolf zkwolf added 1.x version 1.x 2.x for 2.x bug labels May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x version 1.x 2.x for 2.x bug
Projects
None yet
Development

No branches or pull requests

2 participants