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 8547d90 commit c622520Copy full SHA for c622520
projects/igniteui-angular/src/lib/services/overlay/overlay.ts
@@ -741,7 +741,7 @@ export class IgxOverlayService implements OnDestroy {
741
this._overlayInfos
742
.filter(o => o.closeAnimationPlayer && o.closeAnimationPlayer.hasStarted())
743
.length;
744
- if (this._overlayInfos.length - closingOverlaysCount === 1 && this._keyPressEventListener && !this._keyPressEventListener.closed) {
+ if (this._overlayInfos.length - closingOverlaysCount === 1 && this._keyPressEventListener) {
745
this._keyPressEventListener.unsubscribe();
746
this._keyPressEventListener = null;
747
}
0 commit comments