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 updating from Storybook 5.3 to 6, our setting on the introduction page to hide the toolbar doesn't work. Navigating to other documentation pages and returning correctly removes it, but a refresh confirms that this isn't the case on first load.
To Reproduce
Steps to reproduce the behavior:
In preview.js we have added a parameter with options: isToolsShown: true (so that the toolbar re-appears unless otherwise disabled).
import { addParameters } from "@storybook/react";
addParameters({
...
options: {
...
// Toggle toolbar on by default - override per story if unwanted
isToolshown: true,
}
});
Our intro.story.mdx sets this parameter to false on the Meta tag from addon-docs, i.e.
import { Meta } from "@storybook/addon-docs/blocks";
<Meta
title="Documentation/Introduction"
parameters={{ options: { isToolshown: false } }}
/>
The introduction page loads initially with the toolbar visible, until navigating around produces the expected behaviour.
System:
React 16.13
Storybook 6.0.3
Addon-docs 6.0.3
The text was updated successfully, but these errors were encountered:
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!
When updating from Storybook 5.3 to 6, our setting on the introduction page to hide the toolbar doesn't work. Navigating to other documentation pages and returning correctly removes it, but a refresh confirms that this isn't the case on first load.
To Reproduce
Steps to reproduce the behavior:
preview.js
we have added a parameter with options: isToolsShown: true (so that the toolbar re-appears unless otherwise disabled).intro.story.mdx
sets this parameter to false on theMeta
tag from addon-docs, i.e.System:
The text was updated successfully, but these errors were encountered: