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

RangePicker calendar icon is not clickable. #23503

Closed
1 task
meetsiddharth opened this issue Apr 22, 2020 · 2 comments · Fixed by react-component/picker#94
Closed
1 task

RangePicker calendar icon is not clickable. #23503

meetsiddharth opened this issue Apr 22, 2020 · 2 comments · Fixed by react-component/picker#94
Assignees
Labels
improvement improve some features Inactive

Comments

@meetsiddharth
Copy link

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Click the calendar icon in the RangePicker component.

What is expected?

Date range window should open.

What is actually happening?

Date range window is not opening.

Environment Info
antd 4.1.4
React 16.11.0
System Ubuntu
Browser Chrome 80.0.3987.122

Calendar icon is clickable in DatePicker but is not working in RangePicker.

@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Apr 23, 2020
@zombieJ zombieJ added improvement improve some features and removed 🐛 Bug Ant Design Team had proved that this is a bug. labels Apr 24, 2020
@zombieJ
Copy link
Member

zombieJ commented Apr 24, 2020

Update the rule of RangePicker icon:

  • Do nothing if already open
  • Open first if first enabled
  • Open second

@MakarovAV
Copy link

Unfortunately, the suggested solution does not work for me, cause neither the rangepicker itself nor the suffixIcon does not seem to react on onClick event.

Am I missing something here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improve some features Inactive
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants