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 c58a10d commit 9e9d0b9Copy full SHA for 9e9d0b9
projects/igniteui-angular/src/lib/services/overlay/overlay.ts
@@ -660,7 +660,7 @@ export class IgxOverlayService implements OnDestroy {
660
// if we should exclude position target check if the click is over it. If so do not close overlay
661
const positionTarget = info.settings.positionStrategy.settings.target as HTMLElement;
662
let clickOnPositionTarget = false;
663
- if (positionTarget) {
+ if (positionTarget && positionTarget.contains) {
664
clickOnPositionTarget = positionTarget.contains(target);
665
}
666
0 commit comments