Prevent popup from closing when you click outside or inside
dirttech opened this issue · comments
Inderpal Singh commented
I am using ngx-tour-ng-bootstrap and it closes whenever click inside or outside the popover
Nikola Antonov commented
A quick hack for this would be adding
::ng-deep .cdk-overlay-backdrop { pointer-events: none!important; }
But this will override the default material behavior related to modals and dialogs and it is not a very good solution.
AhmedEldeeb commented
I have the same problem and I hope to find a good solution. @isaacplmann
AhmedEldeeb commented
I found a solution that may help you.
In your Angular App -> index.html, after add this
You may need to adjust z-index style depend on your case.