-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Story list is empty when loading the storybook inside an IFRAME #555
Comments
Is there any error on the console? |
I think it has to do with the way the post msg channel is setup. I'll check this one out |
There is no error on the console. |
Hi @dompuiu, it should work from |
I'm using the latest version, but still can't see stories when iframed. The page hosting the iframe is served from a different origin, if that's at all helpful. |
Thanks @rexxars, I'll check it again |
Submitted a PR to storybook-channel-postmsg which fixes this issue. |
…154) * Update react-storybook to latest version to fix iframe on docs site - storybookjs/storybook#555 * Update package.json
I am using the
HTML Publisher Plugin
from Jenkins to store a static compiled storybook. TheHTML Publisher Plugin
will load the storybook index.html inside an IFRAME.It seems that when a storybook is loaded inside the iframe, the available stories are not shown inside the left menu.
This is image showing the problem:
You can notice that the first story is loaded in the right side of the screen, but the list is empty.
I recently upgrade to the latest version. In v1.x this problem did not exist.
The text was updated successfully, but these errors were encountered: