You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the --docs flag is added to either start-storybook or build-storybook it results in the following:
toolbar hidden by default
switching to canvas tab doesn't work (unless you refresh)
actions panel not showing on canvas tab by default
when navigating to subsequent stories, the canvas tab is shown as active but the user still see "docs" mode
Screen.Recording.2022-03-03.at.17.30.24.mov
To Reproduce
Please create a reproduction by running n and following the instructions. Read our documentation to learn more about creating reproductions.
Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.
I'm not going to push up a public repo for this because it is so easy to reproduce (with minimal changes)
run npx sb@next repro
follow the prompts as per usual
update the package.json file to add the --docs flag
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
When the
--docs
flag is added to eitherstart-storybook
orbuild-storybook
it results in the following:Screen.Recording.2022-03-03.at.17.30.24.mov
To Reproduce
Please create a reproduction by running
n
and following the instructions. Read our documentation to learn more about creating reproductions.Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.
I'm not going to push up a public repo for this because it is so easy to reproduce (with minimal changes)
npx sb@next repro
--docs
flagyarn storybook
System
Additional context
I wonder if this might be related to (or the cause of) other similar issues... For example: #15283
From the SB docs, it looks like the
--docs
flag should only set the initial view to "docs". But it seems to be doing more than that.The text was updated successfully, but these errors were encountered: