element-plus icon indicating copy to clipboard operation
element-plus copied to clipboard

[Component] [date-picker] 怎么让日期选择器面板一直显示,能否加一个这样的功能

Open stupidream opened this issue 1 year ago • 6 comments

Bug Type: Component

Environment

  • Vue Version: 3.4.38
  • Element Plus Version: 2.8.1
  • Browser / OS: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
  • Build Tool: CDN

Reproduction

Related Component

  • el-date-picker

Reproduction Link

CodePen

Steps to reproduce

直接行内显示日期面板,不会关闭

What is Expected?

直接行内显示日期面板,像Calendar组件一样

What is actually happening?

选择完日期后面板就关闭了

Additional comments

(empty)

微信截图_20240826095736

stupidream avatar Aug 26 '24 01:08 stupidream

It looks like the demand is related to this PR #17168.

We have consulted the designers before and they think it does not meet the design specifications. Perhaps we can take this opportunity to consult more people again.

cc @tolking @jw-foss @warmthsea @makedopamine @zhixiaotong

btea avatar Aug 31 '24 00:08 btea

Perhaps we can consider separating the panel into a separate component like ElCascader, ElCascaderPanel.

Or export the internal components for users to implement on their own.

tolking avatar Aug 31 '24 03:08 tolking

Perhaps we can consider separating the panel into a separate component like ElCascader, ElCascaderPanel.

Or export the internal components for users to implement on their own.

Splitting the panels into separate components looks great. 👍

btea avatar Aug 31 '24 04:08 btea

what about color-picker?

zhixiaotong avatar Sep 03 '24 14:09 zhixiaotong

what about color-picker?

Maybe we can separate a color-panel component and reuse it.

btea avatar Oct 04 '24 12:10 btea

那么颜色选择器呢?

也许我们可以分离一个color-panel组件并重复使用它。

非常需要这个组件,有些场景只需要一个el-date-picker,不需要那个输入框,如果能分离出来就太棒啦,非常感谢你们的付出

qinfeng0214 avatar Oct 14 '24 09:10 qinfeng0214

确实有很多场景都需要这个功能,期待中...

a81n9 avatar Dec 20 '24 02:12 a81n9

还有下文吗?

zhw2590582 avatar Jan 09 '25 11:01 zhw2590582

还有下文吗?

huanglong6828 avatar Feb 12 '25 10:02 huanglong6828

这是一个开源项目,如果有人愿意完成这个需求,我可以分配给他。

tolking avatar Feb 13 '25 11:02 tolking

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

github-actions[bot] avatar Oct 31 '25 16:10 github-actions[bot]