Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NzModal : click 'Mask' quickly , the callback 'onCancel 'is triggered twice, should only once #958

Closed
dknfeiov opened this issue Jan 24, 2018 · 2 comments

Comments

@dknfeiov
Copy link

Version

0.5.5

Environment

windows7 chrome: 61.0.3163.79

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-setup-giu6if?embed=1&file=app/app.component.ts

Steps to reproduce

  1. click the button , the modal is opened
  2. quickly click the Mask , see the console , the onCancel is triggered twice, maybe more

What is expected?

the callback 'OnCancel' only be trigger once;

What is actually happening?

the callback 'OnCancel' be triggered twice ;

Other?

@vthinkxie
Copy link
Member

the modal will be rewrite totally in version 0.7.0 ref #920

@lock
Copy link

lock bot commented Jun 5, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants