{"action":"closed","issue":{"url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/1666","repository_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd","labels_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/1666/labels{/name}","comments_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/1666/comments","events_url":"https://api.github.com/repos/NG-ZORRO/ng-zorro-antd/issues/1666/events","html_url":"https://github.com/NG-ZORRO/ng-zorro-antd/issues/1666","id":332769487,"node_id":"MDU6SXNzdWUzMzI3Njk0ODc=","number":1666,"title":"nzOnClose is emitted for nz-alert before fade animation is finished","user":{"login":"dmytroyarmak","id":1378201,"node_id":"MDQ6VXNlcjEzNzgyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1378201?v=4","gravatar_id":"","url":"https://api.github.com/users/dmytroyarmak","html_url":"https://github.com/dmytroyarmak","followers_url":"https://api.github.com/users/dmytroyarmak/followers","following_url":"https://api.github.com/users/dmytroyarmak/following{/other_user}","gists_url":"https://api.github.com/users/dmytroyarmak/gists{/gist_id}","starred_url":"https://api.github.com/users/dmytroyarmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmytroyarmak/subscriptions","organizations_url":"https://api.github.com/users/dmytroyarmak/orgs","repos_url":"https://api.github.com/users/dmytroyarmak/repos","events_url":"https://api.github.com/users/dmytroyarmak/events{/privacy}","received_events_url":"https://api.github.com/users/dmytroyarmak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-15T13:16:54Z","updated_at":"2018-06-16T11:54:06Z","closed_at":"2018-06-16T11:54:06Z","author_association":"CONTRIBUTOR","body":"## Version\r\n1.0.0\r\n## Environment\r\nany\r\n## Reproduction link\r\n[https://stackblitz.com/edit/ng-zorro-antd-start-njncob](https://stackblitz.com/edit/ng-zorro-antd-start-njncob)\r\n## Steps to reproduce\r\nClick close button of the alert\r\n## What is expected?\r\n`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`\r\n## What is actually happening?\r\n`nzOnClose` is emitted immediately and as a result, `ngIf`on alert hides it before the animation is done\r\n## Other?\r\n\r\n<!-- generated by ng-zorro-issue-helper. DO NOT REMOVE -->"}}
{"actor":{"display_login":"vthinkxie"}}