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

Duplicate story preview in doc panel with svelte #13662

Closed
j3rem1e opened this issue Jan 16, 2021 · 2 comments
Closed

Duplicate story preview in doc panel with svelte #13662

j3rem1e opened this issue Jan 16, 2021 · 2 comments

Comments

@j3rem1e
Copy link
Contributor

j3rem1e commented Jan 16, 2021

Describe the bug

Framework Svelte.
Randomly, when using Controls in the doc panel, the story is duplicated in the preview panel. Sometimes, the story is not rendered, or rendered on the wrong canvas.

To Reproduce

  1. Open the svelte kitchen sink
  2. Open the Button Story
  3. Click on the rounded control severals times. (It happens more frequently if the change are done fast..)
  4. In the preview panel, the story appears twice

Cause
The HOC component doesn't destroy the child component.

@shilman
Copy link
Member

shilman commented Jan 22, 2021

Yo-ho-ho!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.2.0-alpha.18 containing PR #13663 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 Jan 22, 2021
@shilman
Copy link
Member

shilman commented Jan 22, 2021

Son of a gun!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.1.15 containing PR #13663 that references this issue. Upgrade today to the @latest NPM tag to try it out!

npx sb upgrade

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

2 participants