Storybook: Knobs panel renders off screen

Created on 16 May 2019  路  5Comments  路  Source: storybookjs/storybook

Describe the bug
When using knobs panel the panel visually diappears despite all set up being correct. What is actually happening is then panel is rendering off screen. This can be seen by searching for react-draggable css class in the Chrome Dev Tools elements panel. This shows the panel is renderd but is rendered off screen at the top

To Reproduce
I am not entirely sure what triggers this, possibly a screen or browser window size change. It happens twice in two days

Expected behavior
It should not be possible for the knobs panel or its draggable edge to render off the visible part of the browser window

Screenshots
You can see the knobs panel is off screen
Screenshot 2019-05-16 at 11 16 29

System:

  • OS: MacOS
  • Device: Macbook Pro 2016
  • Browser: Chrome
  • Framework: Rect
  • Addons: Knobs
  • Version: 5.0.11;
bug inactive ui

Most helpful comment

@shilman I don't use other addons so cannot say if it is only knobs. Also it seemed today to simply hide the panel without out any reszing of the window. The browser window had been idle for a while, i refocusd it, the UI flickered (maybe due to a hot reload), then the panel disappears. To get it to re-appear i have to click "Change Addons orientation"

All 5 comments

Is it only knobs or is it all addons? Is it a duplicate of this? https://github.com/storybooks/storybook/issues/6343

@shilman I don't use other addons so cannot say if it is only knobs. Also it seemed today to simply hide the panel without out any reszing of the window. The browser window had been idle for a while, i refocusd it, the UI flickered (maybe due to a hot reload), then the panel disappears. To get it to re-appear i have to click "Change Addons orientation"

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!

@leanne2 try doing localStorage.clear() in your browser console and then hard refresh?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

purplecones picture purplecones  路  3Comments

rpersaud picture rpersaud  路  3Comments

tlrobinson picture tlrobinson  路  3Comments

miljan-aleksic picture miljan-aleksic  路  3Comments

oriSomething picture oriSomething  路  3Comments