Skip to content

There is a problem with the onClick triggering method of the notification. Now it is triggered directly. It should be triggered after the click #4128

@hugselina2019

Description

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

Version

1.7.2

Environment

win10 64

Reproduction link

https://2x.antdv.com/components/notification-cn/

Steps to reproduce

(版本1.7.2 & 1.7.5 )不传参数 是点击后才触发, 传了参数 直接触发了 都没点击; 另外andv最新文档和安装版本是1.7.5 这里为什么选不了1.7.5 最高只到1.7.3 ?

What is expected?

传参后click才会触发onClick的回调,

What is actually happening?

没有click, 直接触发了

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions