diff --git a/core/src/components/modal/modal.tsx b/core/src/components/modal/modal.tsx index 502d502eec..5ad51aefb3 100644 --- a/core/src/components/modal/modal.tsx +++ b/core/src/components/modal/modal.tsx @@ -708,7 +708,7 @@ export class Modal implements ComponentInterface, OverlayInterface { this.currentTransition = dismiss(this, data, role, 'modalLeave', iosLeaveAnimation, mdLeaveAnimation, { presentingEl: this.presentingElement, - currentBreakpoint: this.currentBreakpoint !== undefined || this.initialBreakpoint, + currentBreakpoint: this.currentBreakpoint ?? this.initialBreakpoint, backdropBreakpoint: this.backdropBreakpoint, });