Skip to content
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

Fix/refresh iframe #6787

Merged
merged 2 commits into from
May 15, 2019
Merged

Fix/refresh iframe #6787

merged 2 commits into from
May 15, 2019

Conversation

ndelangen
Copy link
Member

Issue:
#6688
#5925

What I did

This changes the Iframe component code, so it no longer updates
This changes the postmessage channel so it only flushes the buffer after receiving the first message from the iframe (this pretty much ensures the channel is set up there to receive messages as well). This is a better method then the DOMdocumentReady event.

@vercel
Copy link

vercel bot commented May 14, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://monorepo-git-fix-refresh-iframe.storybook.now.sh

@ndelangen ndelangen self-assigned this May 14, 2019
@ndelangen ndelangen added this to the 5.1.0 milestone May 14, 2019
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a good approach to me. Thanks for fixing my mess @ndelangen

@ndelangen ndelangen merged commit 43e378f into next May 15, 2019
@ndelangen ndelangen deleted the fix/refresh-iframe branch May 15, 2019 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants