Skip to content

modal component When the button is clicked, the pop-up window is closed and the pop-up window is closed again. How to cancel Is there any way to directly set the parameters? #3834

@qwer630701

Description

@qwer630701
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

win10 谷歌浏览器 vue2.0

Reproduction link

https://www.antdv.com/components/modal-cn/

Steps to reproduce

打开官方示例 https://www.antdv.com/components/modal-cn/
然后随便点击一个示例按钮 弹窗弹出后 点击确认 弹窗关闭 又再度聚焦到按钮 导致再按enter键 再次打开弹窗

What is expected?

点击按钮 打开弹窗 当关闭弹窗后 不聚焦到按钮上

What is actually happening?

点击按钮 打开弹窗 当关闭弹窗后 再度聚焦到按钮上

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions