Ng-zorro-antd: Popover disappeared when mouse click after modal shows

Created on 16 Nov 2020  ·  1Comment  ·  Source: NG-ZORRO/ng-zorro-antd

Reproduction link

https://codesandbox.io/s/vigorous-hamilton-p3hb0?file=/src/app/app.component.ts

Steps to reproduce

step1:click the "click me"button, the popover module will pop up,then click the "close" button.
step2:after modal shows, if u click anywhere in the web page, the popover module disppeared.

What is expected?

when modal shows, if u click anywhere in the web page, there is no influence with popover module behind the modal module, the popover should be fronzen expectly.

What is actually happening?

this the is old version,should be like this :
https://codesandbox.io/s/hardcore-hooks-xjci2?file=/src/app/app.component.ts:170-177

| Environment | Info |
|---|---|
| ng-zorro-antd | 10.1.1 |
| Browser | Chrome |

Bug Modal

Most helpful comment

same problem

>All comments

same problem

Was this page helpful?
0 / 5 - 0 ratings