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
Viewport addon is not registered automatically #11848
Comments
It's working properly in Storybook's monorepo (NOTE: comment out the disabling code in Do you have a public repro? |
Not yet. I'll do it today. |
Actually I've tried to import my project via CodeSandbox, but it throws some errors. It seems, that it is related to its ecosystem. |
Cool I'll check it out |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Fixed in #12148 and released in https://github.com/storybookjs/storybook/releases/tag/v6.0.14. Closing this for now. Please let me know if you're still seeing this after upgrading. |
Describe the bug
As documentation says, Essentials addon includes both Backgrounds and Viewport addons. Backgrounds addon is registered automatically, Viewport requires manual registering.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Viewport addon is registered automatically as well as Backgrounds one.
Screenshots
Warning about already registered addon skipping:
If registered manually, it works correctly:
Hoping that the addon is registered automatically:
It isn't:
Code snippets
Not working config in main.ts:
Working config in main.ts:
System:
The text was updated successfully, but these errors were encountered: