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

DatePicker 显示问题 #47665

Closed
toFrankie opened this issue Mar 1, 2024 · 3 comments · Fixed by #47821
Closed

DatePicker 显示问题 #47665

toFrankie opened this issue Mar 1, 2024 · 3 comments · Fixed by #47821
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@toFrankie
Copy link

toFrankie commented Mar 1, 2024

Reproduction link

Edit on CodeSandbox

Steps to reproduce

关于 DatePicker 组件,问题有二:

  1. 启用 multiple 时,未显示 Placeholder
  2. 启用 multiple 时,且已选日期换行时,上下没有间隙
image

What is expected?

  1. 启用 multiple 时,正常显示 Placeholder
  2. 已选日期换行时,上下应有间隙,类似于 <Select mode="multiple" /> 一样,示例有给出。

What is actually happening?

  1. 启用 multiple 时,未显示 Placeholder
  2. 启用 multiple 时,且已选日期换行时,上下没有间隙
Environment Info
antd 5.14.2
React 18
System macOS 14.3.1
Browser 122.0.6261.94 (arm64)
@nova1751
Copy link
Contributor

nova1751 commented Mar 9, 2024

Any progress in this issue? @zombieJ

@Tim022
Copy link

Tim022 commented Mar 12, 2024

@zombieJ Placeholder still can't be displayed

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 16, 2024

@zombieJ Placeholder still can't be displayed

Another fix. #48387.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants