-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
React warning in browser console when controls are disabled #15503
Comments
I’m only using Running Storybook 6.3.6. The error:
|
there's [a bug](storybookjs/storybook#15503) in storybook when doing this, but since ours are canvases anyway we dont need to do it
Still an issue for me as well.
|
Looks like
|
I have the same issue with |
Experiencing the same issue as well (
cc @Cedric-ruiu |
Describe the bug
When using
controls: {disable: true}
in the parameters of a story,the following warning message shows up in the browser console:
To Reproduce
npx sb@next repro
Replace "@storybook/addon-essentials" in main.js with
"@storybook/addon-docs",
"@storybook/addon-controls",
"@storybook/addon-actions",
Add
controls: {disable: true}
to the parameters of the Button StoryReload Button story page and watch the browser console.
System
Additional context
I could only reproduce this when importing "@storybook/addon-docs", "@storybook/addon-controls" and "@storybook/addon-actions" instead of "@storybook/addon-essentials" so just importing "@storybook/addon-essentials" is a good workaround.
The text was updated successfully, but these errors were encountered: