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

Reload iframe when the url changes #17644

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

chalbert
Copy link

@chalbert chalbert commented Mar 7, 2022

Fixes #17135, where the iframe would not reload after a version change.

To solve the issue, I check if the url of the iframe has changed in the componentDidUpdate. When a version changes, it updates the refs which in turn updates the ZoomIframe. Unless the ZoomIframe updates, the change is not reflected and the preview keeps spinning.

It happens when the version changes
@nx-cloud
Copy link

nx-cloud bot commented Mar 7, 2022

☁️ Nx Cloud Report

CI ran the following commands for commit 2096016. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

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.

Composed storybooks doesn't show stories for other versions/
4 participants