From 1bfa6b7dfc3e48945b49c85ebabc45c7f4a40197 Mon Sep 17 00:00:00 2001 From: Eldar <61377022+EldarMuhamethanov@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:06:23 +0300 Subject: [PATCH] fix(CustomResizeObserver): remove set src to iframe (#7933) --- packages/vkui/src/lib/floating/customResizeObserver.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/vkui/src/lib/floating/customResizeObserver.ts b/packages/vkui/src/lib/floating/customResizeObserver.ts index dcfa2b7802..5bd59a2950 100644 --- a/packages/vkui/src/lib/floating/customResizeObserver.ts +++ b/packages/vkui/src/lib/floating/customResizeObserver.ts @@ -68,7 +68,6 @@ export class CustomResizeObserver { observeUsingIframe(element: HTMLElement): void { const iframe = element.ownerDocument.createElement('iframe'); - iframe.src = 'javascript:void(0)'; iframe.ariaHidden = 'true'; iframe.tabIndex = -1; Object.assign(iframe.style, defaultIframeStyles);