-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unable to render an html string by passing 'content' #4
Comments
I have basically done the same thing here: https://github.com/zeroasterisk/react-iframe-resizer-super/blob/master/src/stories/index.js#L44-L50 try not wrapping your content string in |
Hey @zeroasterisk, I found out that using it this way caused an issue with Safari's security. I tried it a different way, by creating a backend route that returns the html, however this then causes other issues: I have not yet found a way around this. |
Can you make it work without the resizer?
On Thu, Dec 7, 2017, 10:54 PM Kenza Iraki ***@***.***> wrote:
Hey @zeroasterisk <https://github.com/zeroasterisk>, I found out that
using it this way caused an issue with Safari's security. I tried it a
different way, by creating a backend route that returns the html, however
this then causes other issues:
[image: screen shot 2017-12-07 at 10 53 54 pm]
<https://user-images.githubusercontent.com/17203119/33750373-91799e04-dba1-11e7-9488-dd30c68e785c.png>
I have not yet found a way around this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABbfkhZ2PuIDmsUJUbLV-4BZO3W1cK4ks5s-LL5gaJpZM4QpCVc>
.
--
thank you,
Alan Blount
[email protected]
502-744-4942
G+ [email protected]
|
Yes @zeroasterisk, it works fine when not using the resizer |
Hello,
We've been using this library for a few months, and recently we had a requirement to update the html from iFrame we use to pass it a dynamic string, which means we can no longer use a static html file. I've tried replacing
src
bycontent
like so:Where
string
is:This does not work, as the iFrame no longer displays anything. Does anyone have a clue to what could be going on?
The text was updated successfully, but these errors were encountered: