We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c94cd2 commit 52e8b5cCopy full SHA for 52e8b5c
projects/igniteui-angular/src/lib/services/overlay/overlay.ts
@@ -653,7 +653,7 @@ export class IgxOverlayService implements OnDestroy {
653
// if we should exclude position target check if the click is over it. If so do not close overlay
654
const positionTarget = info.settings.positionStrategy.settings.target as HTMLElement;
655
let clickOnPositionTarget = false;
656
- if (positionTarget) {
+ if (positionTarget && positionTarget.contains) {
657
clickOnPositionTarget = positionTarget.contains(target);
658
}
659
0 commit comments