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 1598e52 commit 244170aCopy full SHA for 244170a
projects/igniteui-angular/src/lib/services/overlay/overlay.ts
@@ -655,7 +655,7 @@ export class IgxOverlayService implements OnDestroy {
655
// if we should exclude position target check if the click is over it. If so do not close overlay
656
const positionTarget = info.settings.target as HTMLElement;
657
let clickOnPositionTarget = false;
658
- if (positionTarget) {
+ if (positionTarget && positionTarget.contains) {
659
clickOnPositionTarget = positionTarget.contains(target);
660
}
661
0 commit comments