Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can't hide addon panel (empty - "Nothing found") #26445

Closed
mkosir opened this issue Mar 12, 2024 · 1 comment · Fixed by #26481
Closed

[Bug]: Can't hide addon panel (empty - "Nothing found") #26445

mkosir opened this issue Mar 12, 2024 · 1 comment · Fixed by #26481

Comments

@mkosir
Copy link

mkosir commented Mar 12, 2024

Describe the bug

After upgrading to Storybook v8.0 empty bottom panel appears with "Nothing found" text. Not sure how to hide/disable it as it was in v7.x, but tried different configs in manager.ts and preview.tsx as showPanel: false, disable: true etc.

Screenshot 2024-03-12 at 15 05 25

System

Storybook Environment Info:

  System:
    OS: macOS 14.4
    CPU: (12) arm64 Apple M2 Max
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    npm: 10.5.0 - ~/Desktop/projects/react-parallax-tilt/node_modules/.bin/npm <----- active
    pnpm: 8.15.4 - ~/.nvm/versions/node/v20.11.1/bin/pnpm
  Browsers:
    Chrome: 122.0.6261.112
    Safari: 17.4
  npmPackages:
    @storybook/addon-webpack5-compiler-swc: 1.0.2 => 1.0.2 
    @storybook/manager-api: 8.0.0 => 8.0.0 
    @storybook/react: 8.0.0 => 8.0.0 
    @storybook/react-webpack5: 8.0.0 => 8.0.0 
    @storybook/theming: 8.0.0 => 8.0.0 
    eslint-plugin-storybook: 0.8.0 => 0.8.0 
    storybook: 8.0.0 => 8.0.0
@mkosir mkosir changed the title [Bug]: Can't hide controls panel [Bug]: Can't hide controls panel (empty - "Nothing found") Mar 12, 2024
@mkosir mkosir changed the title [Bug]: Can't hide controls panel (empty - "Nothing found") [Bug]: Can't hide addon panel (empty - "Nothing found") Mar 12, 2024
@vanessayuenn vanessayuenn added this to the 8.0-stabilization milestone Mar 12, 2024
@yannbf yannbf self-assigned this Mar 13, 2024
@tourshi
Copy link

tourshi commented Sep 11, 2024

for anyone that needs to hide the addon panel and wasn't able to with 'showPanel' (seems to be removed as of v8), i managed to hide it by passing bottomPanelHeight: 0 instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants