-
-
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
ThemeProvider decorator not affecting stories in docs page #14477
Comments
Do you have a repro repo you can share? Also, all of your storybook package versions should match. You can do this automatically (recommended) by:
|
here is a reproduction repo: https://github.com/hazem3500/storybook-14477-repro |
Thanks @hazem3500, I've reproduced with your repo. I'm going to merge some related PRs into 6.3-alpha next week and then see if it still has the problem. Thanks for the repro and for your patience! |
You're welcome 😄 |
I've tested this issue on version |
issue's still open so i don't think it's going to happen in this release. we're redoing how we render stories in docs mode in 7.0, so maybe that's the best time to fix it. in the meantime you can probably set |
We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:
|
Describe the bug
I have a decorator that toggles between color modes.
it works fine when viewing in canvas mode. but when I switch to the docs page it doesn't work.
Expected behavior
It should switch color mode on the docs page just like it does in canvas.
Screenshots
System
The text was updated successfully, but these errors were encountered: