Bug Type: Component
Environment
- Vue Version:
3.2.13
- Element Plus Version:
2.3.1
- Browser / OS:
Chrome 111.0.5563.65 / win10 20H2
- Build Tool:
Vue CLI
Reproduction
Related Component
Reproduction Link
Element Plus Playground
Steps to reproduce
点击el-input输入框使输入框聚焦,并弹出el-dialog组件,然后通过点击el-dialog中#footer中的取消按钮关闭弹窗.
What is Expected?
弹窗被关闭
What is actually happening?
弹窗关闭后,立刻被重新打开,因为弹窗被关闭时重新触发了el-input的focus事件,这并不是我们所期望的(点击右上角的关闭按钮时不存在这个问题),并且这在element-plus2.2.22版本中并不存在这个问题
Additional comments
(empty)
Bug Type:
ComponentEnvironment
3.2.132.3.1Chrome 111.0.5563.65 / win10 20H2Vue CLIReproduction
Related Component
el-dialogel-selectReproduction Link
Element Plus Playground
Steps to reproduce
点击el-input输入框使输入框聚焦,并弹出el-dialog组件,然后通过点击el-dialog中#footer中的取消按钮关闭弹窗.
What is Expected?
弹窗被关闭
What is actually happening?
弹窗关闭后,立刻被重新打开,因为弹窗被关闭时重新触发了el-input的focus事件,这并不是我们所期望的(点击右上角的关闭按钮时不存在这个问题),并且这在element-plus2.2.22版本中并不存在这个问题
Additional comments
(empty)