NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.85k stars 3.9k forks source link

popconfirm 的 nzPopconfirmVisibleChange 事件失效 #7337

Open gitlun opened 2 years ago

gitlun commented 2 years ago

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-ivy-j3qzoy

Steps to reproduce

What is expected?

nzPopconfirmVisibleChange 正常触发

What is actually happening?

nzPopconfirmVisibleChange 没有触发

Environment Info
ng-zorro-antd 13.1.1
Browser 所有

看了源码,少了 @Output('nzPopconfirmVisibleChange') readonly visibleChange = new EventEmitter();

zorro-bot[bot] commented 2 years ago

Translation of this issue:

PopConfirm's NZPOPConfirmvisibleChange event invalid

reproduction link

https://stackblitz.com/Edit/ng- Zorro-antd-ivy-j3qzoy

steps to reproduce

without

What is expected?

NZPOPConfirmvisibleChange Trigger

What is actually happens?

NZPOPConfirmvisibleChange does not trigger

ENVIRONMENT INFO
Ng-Zorro-ANTD 13.1.1
Browser All

Look at the source code, less @output ('nzpopconfirmvisible ") readonly visiblechange = new eventemitter ();