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]: Composition - some addons don't seem to work #21510

Open
ndelangen opened this issue Mar 9, 2023 · 2 comments · May be fixed by #29278
Open

[Bug]: Composition - some addons don't seem to work #21510

ndelangen opened this issue Mar 9, 2023 · 2 comments · May be fixed by #29278

Comments

@ndelangen
Copy link
Member

Describe the bug

report by @yannbf during QA:

When composing a Storybook that contains exactly the same code (two directories with the same project, each running SB in a different port), most of the addons in the toolbar don't seem to work

Addons that worked:

  • controls
  • actions
  • viewport
  • a11y panel
  • storybook-addon-designs

Addons that did not work:

  • backgrounds (and grid)
  • measure
  • outline
  • a11y toolbar

Edit: It seems that if I switch stories after enabling all addons, the next story does contain most of them (a11y filters never worked)

2023-03-07 19 03 17

To Reproduce

  • make a static storybook
  • host the static storybook
  • change the same storybook's main.js file, to compose the static hosted one
    (you should now have exactly the same storybook twice, 1 referencing the other)
  • start the storybook

System

No response

Additional context

No response

@shilman
Copy link
Member

shilman commented Mar 10, 2023

This is by design and has always been this way AFAIK. At some point we should fix it but @tmeasday did not want to open up that can of worms in the initial release, so it was intentionally scoped out.

@ndelangen
Copy link
Member Author

I verified, this is still an issue in Storybook 8.1.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Empathy Backlog
Development

Successfully merging a pull request may close this issue.

3 participants