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

Date picker dates reset after focus out #48693

Closed
alisher-aituarov opened this issue Apr 29, 2024 · 4 comments
Closed

Date picker dates reset after focus out #48693

alisher-aituarov opened this issue Apr 29, 2024 · 4 comments
Labels
🤔 Need Reproduce We cannot reproduce your problem

Comments

@alisher-aituarov
Copy link

Reproduction link

https://ant.design/components/date-picker

Steps to reproduce

  • enter start and end dates (example start=2024-01-01 , end=2024-02-02)
  • change start date from the keyboard (example 2024-01-02)
  • change end date from the keyboard without blurring datepicker (click end date with mouse) (example 2024-02-03)
  • blur from datepicker

What is expected?

expected to see both dates to be persisted ( should be 2024-01-02 - 2024-02-03 )

What is actually happening?

the only date persisted is the one that changed last (if changed end date last then 2024-01-01 - 2024-02-03 )

Environment Info
antd 5.16.5
React 18.2.0
System macos
Browser chrome Version 124.0.6367.60
@alisher-aituarov
Copy link
Author

@jhsu @edd @grossbart @yang

@mleister97
Copy link

I believe this issue is related to mine as well: When selecting a value, it flickers afterward when moving the mouse, causing the values to jump around. This wasn't the case before.

Which version can I downgrade to in order to avoid this issue? It seems that this was only recently introduced (I upgraded antd from 5.13.3 to 5.16.5).

flickering.mp4

@MadCcc MadCcc added 🤔 Need Reproduce We cannot reproduce your problem and removed unconfirmed labels May 8, 2024
Copy link
Contributor

github-actions bot commented May 8, 2024

Hello @alisher-aituarov. Please provide a online reproduction by forking codesandbox of [email protected] or [email protected], or provide a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @alisher-aituarov,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 [email protected][email protected] 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

什么是最小化重现,为什么这是必需的?

@alisher-aituarov
Copy link
Author

@MadCcc please just follow the link I have already attached and follow the instructions please
meaning this bug is present in your docs as well as in my codebase

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

3 participants