Skip to content

Commit

Permalink
fix(CustomResizeObserver): remove set src to iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
EldarMuhamethanov committed Nov 12, 2024
1 parent 75f5a11 commit c7a5b5d
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 c7a5b5d

Please sign in to comment.