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

nzOnClose is emitted for nz-alert before fade animation is finished #1666

Closed
dmytroyarmak opened this issue Jun 15, 2018 · 1 comment · Fixed by #1667
Closed

nzOnClose is emitted for nz-alert before fade animation is finished #1666

dmytroyarmak opened this issue Jun 15, 2018 · 1 comment · Fixed by #1667

Comments

@dmytroyarmak
Copy link
Contributor

Version

1.0.0

Environment

any

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-njncob

Steps to reproduce

Click close button of the alert

What is expected?

nzOnClose is emitted only when a fade animation is finished, so you will be able to see animation if you are controlling the visibility of alert with ngIf

What is actually happening?

nzOnClose is emitted immediately and as a result, ngIfon alert hides it before the animation is done

Other?

@lock
Copy link

lock bot commented Jun 16, 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 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant