-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy's iframe element takes place in DOM #49
Comments
Are you sure you mean to take place in DOM? |
Maybe we should consider add a |
Sorry, I meant it takes space, the element containing it overflows |
Will check maybe the iframe has padding, or maybe because it's an inline element. |
@RoniGordin For me, it has a size 0x0px so it doesn't take up any space. Maybe you have other CSS that is applied globally. but I can add position: absolute;
left: 0;
top: 0; or even |
Should be fixed now |
@ballonura by style object if you mean style tag: |
Thx for the quick response. |
Tested now, looks perfect |
When 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 -
(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?
The text was updated successfully, but these errors were encountered: