Storybook: "Toggle stories panel" won't re-show panel

Created on 29 Sep 2018  路  9Comments  路  Source: storybookjs/storybook

Bug or support request summary

When I use the "Toggle stories panel" keyboard shortcut to hide the stories panel, I can't re-show it again. The panel successfully hides, but issuing the same keyboard shortcut again seemingly has no effect on the panel.

Steps to reproduce

  1. Launch Storybook.
  2. Use "Cmd+Shift+X" to hide the stories panel.
  3. Observe that the stories panel is successfully hidden.
  4. Use "Cmd+Shift+X" to show the stories panel.
  5. Observe that the stories panel remains hidden, whereas I expected it to reappear.

Please specify which version of Storybook and optionally any affected addons that you're running

  • @storybook/react 4.0.0-alpha.23
  • @storybook/addon-actions 3.4.11

Affected platforms

  • Browser: Firefox Developer Edition 63.0b8 (64-bit).
  • OS: macOS Sierra 10.12.6.
    ```
bug inactive ui

Most helpful comment

You can use one of these 2 approaches to toggle storybook left panel:

  1. Click anywhere on the canvas and press a -> to hide left panel and press s to show left panel.
  2. Go to application settings in your browser and clear local storage and index db for your storybook host.

All 9 comments

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!

@matchu I'm curious if you still see this. I ran into the same issue - not being able to open the stories panel after having closed it, on Firefox 64bit / OS X.

I access Storybook over HTTP, but also have an HTTPS proxy to the same instance, and when accessed over HTTPS it worked.

@matchu @techieshark Also curious if this is happening in ^4.0.0 or 4.1.0-alpha.*, since we've made a lot of changes since alpha.23.

Also, this probably unrelated but you should upgrade @storybook/addon-actions to track the same version as @storybook/react. We try to keep everything working together, but we don't make any special effort to make the packages work across versions, especially major version jumps like 3.x => 4.x:

@storybook/react 4.0.0-alpha.23
@storybook/addon-actions 3.4.11

@shilman Just now I happened upon the fact that the sidebar can be dragged open or closed with the mouse. I think what may have happened was somehow it became closed (possibly through my own dragging with the mouse). Then when I was trying to pop it open through the key shortcut, it was toggling between a non-existent sidebar, and a sidebar of zero width, and I just wasn't noticing the little handle appearing (it's subtle and if you weren't knowing to look for it you can miss it):

image

image

So perhaps in my case this was simply 'user error'. I can't speak for @matchu though.

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!

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

You can use one of these 2 approaches to toggle storybook left panel:

  1. Click anywhere on the canvas and press a -> to hide left panel and press s to show left panel.
  2. Go to application settings in your browser and clear local storage and index db for your storybook host.

It's kind of weird behaviour. There should be menu icon through which we can show or hide sidebar

I didn't know about this initially, so I went to localstorage and cleared everything to get the sidebar back 馃槄 An icon would have been great.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZigGreen picture ZigGreen  路  3Comments

arunoda picture arunoda  路  3Comments

shilman picture shilman  路  3Comments

miljan-aleksic picture miljan-aleksic  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments