storybook: Setting `showPanel` as component-level parameter doesn't seem to work
When I set parameter options on a Component level basis, the following occurs:
- I set a Component to have
parameters.options.showPanelset tofalse. - Storybook loads on a different Component (with no config set) and the panel shows.
- Click on the Component (from step 1) and the panel hides. So far so good.
- I click on the Component from step 2 (or any other Component) and the panel is still hidden.
So what I want to happen is for the panel to hide for one component and then show again on the others. This surely is possible? Am I doing something wrong?
Here is the Component with the options:
export default {
title: 'Color',
parameters: {
options: {
showPanel: false,
},
},
}
Any help would be hugely appreciated!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 19 (6 by maintainers)
this “issue” is still existing. If the intention is to “not fix it” then I will not close it without stating that.
Can somebody stop stalebot flagging this as staled? It is not. It is a real problem that I’m also facing because I am following the official docs.
Yeah, I completely understand that @shilman It is just that the bot usually closes issues that are not fixed, and at the end it is not clear if the intention was to not fix it or if the bot just closed them. That’s why I was suggesting to add a won’t fix label if that was the case