From fb7f63732c652c8cedda9e133cdd1db84dd900d2 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Fri, 17 May 2024 12:58:18 +0200 Subject: [PATCH] MOBILE-4470 iframe: Fix regression with default values --- src/core/components/iframe/iframe.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/components/iframe/iframe.ts b/src/core/components/iframe/iframe.ts index 58fd3f82a..32b7fc156 100644 --- a/src/core/components/iframe/iframe.ts +++ b/src/core/components/iframe/iframe.ts @@ -48,8 +48,8 @@ export class CoreIframeComponent implements OnChanges, OnDestroy { @Input() src?: string; @Input() id: string | null = null; - @Input() iframeWidth?: string; - @Input() iframeHeight?: string; + @Input() iframeWidth = '100%'; + @Input() iframeHeight = '100%'; @Input() allowFullscreen?: boolean | string; @Input() showFullscreenOnToolbar?: boolean | string; @Input() autoFullscreenOnRotate?: boolean | string;