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]: Upgrading storybook from 7.0.27 to 7.2.1 throw errors in the console #23773

Closed
antoniodesousa opened this issue Aug 9, 2023 · 1 comment

Comments

@antoniodesousa
Copy link

Describe the bug

After upgrading storybook from 7.0.27 to 7.2.1, a lot of errors about SVG are logged in the browser console awhile navigating the different stories. This is the error logged:

Error: <svg> attribute height: Expected length, "inherit"

To Reproduce

  • Install storybook 7.2.1
  • Create a story with some controls. Specially event handlers or configuration objects
  • Start the storybook
  • The error should appear in the console. Hovering or changing the controls will also trigger the error

System

Environment Info:

  System:
    OS: macOS 13.5
    CPU: (12) arm64 Apple M2 Pro
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    npm: 9.8.1 - ~/Source/broccoli/node_modules/.bin/npm
  Browsers:
    Chrome: 115.0.5790.170
    Safari: 16.6
  npmPackages:
    @storybook/addon-actions: 7.2.1 => 7.2.1
    @storybook/addon-essentials: 7.2.1 => 7.2.1
    @storybook/addon-interactions: 7.2.1 => 7.2.1
    @storybook/addon-links: 7.2.1 => 7.2.1
    @storybook/blocks: 7.2.1 => 7.2.1
    @storybook/react: 7.2.1 => 7.2.1
    @storybook/react-vite: 7.2.1 => 7.2.1
    @storybook/store: 7.2.1 => 7.2.2
    @storybook/testing-library: 0.2.0 => 0.2.0

Additional context

No response

@vanessayuenn
Copy link
Contributor

Closing this as duplicate of #23815

@vanessayuenn vanessayuenn closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants