We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6124cec commit d09d90dCopy full SHA for d09d90d
1 file changed
projects/igniteui-angular/core/src/services/overlay/overlay.ts
@@ -422,7 +422,7 @@ export class IgxOverlayService implements OnDestroy {
422
const closeAnimation = info.settings.positionStrategy.settings.closeAnimation;
423
// Show the overlay using Popover API BEFORE positioning
424
// This ensures the element is in the top layer when position calculations happen
425
- if (info.wrapperElement && info.wrapperElement.isConnected && typeof info.wrapperElement.showPopover === 'function') {
+ if (info.wrapperElement?.isConnected && typeof info.wrapperElement.showPopover === 'function') {
426
try {
427
info.wrapperElement.showPopover();
428
} catch (_) {
0 commit comments