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

Addon-interactions: when starting Storybook, story does not contain interaction #16430

Closed
yannbf opened this issue Oct 21, 2021 · 1 comment
Closed

Comments

@yannbf
Copy link
Member

yannbf commented Oct 21, 2021

Describe the bug

When starting Storybook and landing on a Story with interactions, the panel says it does not have interactions. You have to switch stories in order for the interactions to appear in the panel.

Here's a commented video showing the experience:

no-interaction-at-startup.mov

To Reproduce

1 - Change main.ts from official-storybook to only include interaction stories, this way it will land directly on them when starting Storybook:

stories: ['./../../addons/interactions/**/*.stories.(tsx|mdx)',]

2 - Start Storybook (yarn start)
3 - You should land on Addon Interactions -> Demo
4 - Open the interactions panel and see there are no interactions
5 - Switch stories and see the interactions

┆Issue is synchronized with this Asana task by Unito

@shilman
Copy link
Member

shilman commented Oct 25, 2021

w00t!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.0-beta.20 containing PR #16462 that references this issue. Upgrade today to the @next NPM tag to try it out!

npx sb upgrade --prerelease

Closing this issue. Please re-open if you think there's still more to do.

@shilman shilman closed this as completed Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants