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

[Component] datepicker面板在某些场景下会自动弹出

Open xuwencheng opened this issue 1 year ago • 1 comments

Bug Type: Component

Environment

  • Vue Version: 3.5.6
  • Element Plus Version: 2.8.3
  • Browser / OS: Chrome 127.0.6533.120/windows 11
  • Build Tool: Vite

Reproduction

Related Component

  • el-date-picker
  • el-dialog
  • el-popover

Reproduction Link

Element Plus Playground

Steps to reproduce

1.选择一个日期 2.鼠标悬浮在hover me按钮上,弹出popper 3.点击popper内的按钮,打开弹框

What is Expected?

日期面板关闭, 弹框正常打开

What is actually happening?

弹框打开的同时,日期面板也自动展开了

Additional comments

(empty)

xuwencheng avatar Sep 26 '24 08:09 xuwencheng

#18414

Mookiepiece avatar Oct 10 '24 12:10 Mookiepiece

升级到 ^2.11.4 版本后增加配置 automatic-dropdown="false" 即可在聚焦时避免弹窗的打开

tolking avatar Sep 28 '25 07:09 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]