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

grid not appearing in Storybook 6.5 #8

Closed
lukemcd-hero opened this issue Jun 27, 2022 · 2 comments
Closed

grid not appearing in Storybook 6.5 #8

lukemcd-hero opened this issue Jun 27, 2022 · 2 comments

Comments

@lukemcd-hero
Copy link

Since upgrading to Storybook 6.5 the grid add-on is no longer displaying for me. Our project currently uses React 17, Storybook 6.5.8 and storybook-addon-grid 0.1.0. Curious if anyone else is facing this issue.

@maraisr
Copy link
Owner

maraisr commented Jun 27, 2022

Hi @lukemcd-hero sorry about this — and thanks so much for the issue 🙏🏻

In the past versions of storybook they didn't expose the Emotion cache provider's used (at least from what I can remember) to render the grid in the preview (without using the decorator pattern) — they now do include this, and is "home-cooked" with exposing everything we need. But if we used emotion directly, it'll cause havoc with the required singletons.

Either way all good, resolved! 🚀

Please try v0.2.0

@lukemcd-hero
Copy link
Author

Thanks for the quick response @maraisr ! Upgraded to 0.2.0 on my project and now the grid add-on is displaying perfectly. Appreciate the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants