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

DateRange: Picker panel for the end date should automatically switch to the date later then start date #21787

Closed
1 task done
omniteq opened this issue Mar 2, 2020 · 1 comment
Labels
4.x In Ant Design 4.0 improvement improve some features Inactive

Comments

@omniteq
Copy link

omniteq commented Mar 2, 2020

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Select a later date like 2022. The picker panel gets back to the default date so you have to manually navigate to ​2022 for the end date.

What is expected?

The picker panel for the end date should automatically switch to the same month as the ​start date.

What is actually happening?

The end date picker panel gets back to the default month.

Environment Info
antd 4.0.0
React 16.12
System MacOS 10.13.6 (17G7024)
Browser Version 80.0.3987.122
@zombieJ zombieJ added 4.x In Ant Design 4.0 improvement improve some features labels Mar 5, 2020
@zombieJ
Copy link
Member

zombieJ commented Feb 20, 2024

Picker component has been refactor in 5.14.0, and this issue is discussed and handled with react-component/picker#691 which will be marked as closed.

Please feel free to create new issue if you have any further question :)

Picker 组件于 5.14.0 版本进行了重构,此问题已被 react-component/picker#691 中进行讨论与处理。

如果有任何问题,欢迎随时创建新的 issue :)

@zombieJ zombieJ closed this as completed Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x In Ant Design 4.0 improvement improve some features Inactive
Projects
None yet
Development

No branches or pull requests

3 participants