Proxy's iframe element takes place in DOM
See original GitHub issueWhen calling proxy method, the injected iframe element still takes place in DOM, I see the current hiding method is using the next props for the iframe’s style -
width: 0;
height: 0;
border: none;
(inside proxy function)
Using display: none;
instead solves the problem for me,
but I’m still trying to figure out if it can mess up any other functionality and if so, is there another solution?
Issue Analytics
- State:
- Created 9 months ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
4.8.2 The iframe element — HTML5 - W3C
When an iframe element is first inserted into a document, the user agent must create a nested browsing context, and then process the...
Read more >How can I access the contents of an iframe with JavaScript ...
My solution was to use a proxy: feed the HTML in the IFRAME verbatim through my own site so it's no longer cross-site...
Read more >HTMLIFrameElement - Web APIs | MDN
Chrome Edge
HTMLIFrameElement Full support. Chrome1. Toggle history Full support. Edge12. Toggle...
align. Deprecated Full support. Chrome1. Toggle history Full support. Edge12. Toggle...
allow Full support....
Read more >Chapter 5. Cross-domain iframe messaging - Third-Party ...
A DOM element where easyXDM should place the swf object. Both. lazy, Set to true if you want to delay the iframe creation...
Read more >iFrames in Selenium WebDriver - Tools QA
To work with different nested iframes, we can use the method switchTo() to switch the frames using Index, Name, or Id & Web...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ballonura by style object if you mean style tag:
<style></style>
then I would prefer to not include additional DOM elements, we have only a single iframe tag. But maybe if users will use more than one iframe that will make sense.Tested now, looks perfect Thank you so much! 🙏