NG-ZORRO/ng-zorro-antd

使用OnPush策略的组件里,nz-modal关闭后页面失去焦点 #2643
GoodEvent posted onGitHub
Version
7.0.0-rc.1
Environment
ng-zorro-antd 7.0.0-rc.1
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-2dcrhp
Steps to reproduce
1.点击Show Modal按钮 2.关闭模态框 页面没有焦点
What is expected?
关闭模态框之后页面焦点与步骤1相同
What is actually happening?
页面没有焦点,得额外点击一次页面才能继续操作
Other?
<!-- generated by ng-zorro-issue-helper. DO NOT REMOVE -->