Skip to content

Commit 43dc813

Browse files
Popup - Skip content resize during show animation (T1330691)
1 parent ef6b490 commit 43dc813

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • packages/devextreme/js/__internal/ui/popup

packages/devextreme/js/__internal/ui/popup/m_popup.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,10 @@ class Popup<
435435
}
436436

437437
_updateResizeCallbackSkipCondition(): void {
438-
const isShowAnimationResizing = this._isShowAnimationResizing();
439-
440438
this._shouldSkipContentResize = (
441439
entry: ResizeObserverEntry,
442-
): boolean => (isShowAnimationResizing
443-
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
444-
&& this._showAnimationProcessing) || this._areContentDimensionsRendered(entry);
440+
): boolean => Boolean(this._showAnimationProcessing)
441+
|| this._areContentDimensionsRendered(entry);
445442
}
446443

447444
_observeContentResize(shouldObserve: boolean): void {

0 commit comments

Comments
 (0)