We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b1e2ec commit 432c8fbCopy full SHA for 432c8fb
kaltura-ui/src/popup-widget/popup-widget.component.ts
@@ -184,11 +184,11 @@ export class PopupWidgetComponent implements AfterViewInit, OnDestroy{
184
this.popup.nativeElement.style.bottom = this.popupHeight!== 'auto' ? this.popupHeight * -1 +"px" : "-1000px";
185
timeout = 300;
186
}
187
+ document.body.classList.remove("kModal");
188
setTimeout(()=>{
189
// remove modal
190
if (this.modal && this._modalOverlay) {
191
document.body.removeChild(this._modalOverlay);
- document.body.classList.remove("kModal");
192
this._modalOverlay = null;
193
194
this._statechange.next({state: PopupWidgetStates.Close, context: context, reason: reason}); // use timeout to prevent valueChangeAfterChecked error
0 commit comments