Skip to content

Modal.confirm 行为不一致 #7212

@zzzgit

Description

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

Version

4.0.8

Environment

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 点击按钮,打开弹窗
  2. 点击弹窗中的取消按钮
    1. 得到的alert顺序是:first, second
  3. 重新打开弹窗
  4. 按键盘Ecs
    1. 得到的alert顺序: second, first

What is expected?

按Ecs的行为,应该跟安了【取消】一致

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