Open cemusta opened 5 years ago
I'm having the same issue too, any ideas on what is causing this?
same here (had to disable) after updating to storybook 5.3
@echoulen so, this was labelled as a good-first-issue
. Can you provide a pointer to how to fix this?
Thanks!
This is also a pain point for me. Also happy to help with anything to fix this
I am having this same issue. Is there a fix or workaround?
Have switched to https://github.com/semoal/themeprovider-storybook and preview works.
Thanks @majklovec this solved my issue
Worked for me too. Thanks @majklovec!
Worked for me too, great! Thanks @majklovec !
I unfortunately ran into some rendering issues with ‘themeprovider-storybook’ so ended up switching to the more generic ‘addon-contexts’ which is perfect!
Thanks!!! @sami616 , I solved my issue
We are using storybook 5.x with styled-component-theme addon, here the full versions:
There was no error on the browser and the storybook console however when I click the 'canvas view' button, the canvas view only shows a blank page.
After disabling all plugins one by one, I noticed styled-component is the culprit.
Just removing the addDecorator part is enough for making canvas view again.
Live links: https://mph-global.appspot.com/
Sample story: https://mph-global.appspot.com/?path=/story/welcome-to--storybook
Not working canvas view: https://mph-global.appspot.com/iframe.html?id=welcome-to--storybook