Skip to content

Commit a3a5d26

Browse files
Revert "Popup - Skip content resize during show animation (T1330691)"
This reverts commit 43dc813.
1 parent 43dc813 commit a3a5d26

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

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

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

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

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

444447
_observeContentResize(shouldObserve: boolean): void {

0 commit comments

Comments
 (0)