Skip to content

Commit

Permalink
fix(CustomResizeObserver): remove set src to iframe (#7933)
Browse files Browse the repository at this point in the history
  • Loading branch information
EldarMuhamethanov authored and actions-user committed Nov 12, 2024
1 parent 8f0c8e0 commit 1bfa6b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/vkui/src/lib/floating/customResizeObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1bfa6b7

Please sign in to comment.