pocka / storybook-addon-vue-info

Info addon for Vue components
https://storybook-addon-vue-info.netlify.com/?path=/story/examples-basic-usage--simple-example
MIT License
164 stars 28 forks source link

The addon is not compatible with knobs @storybook/addon-knobs anymore #120

Closed angelika94 closed 5 years ago

angelika94 commented 5 years ago

Describe the bug Hi there, to be honest, I don't know who to address this issue: info addon or knobs 🤷‍♀️ . But there is a bug: If info is activated for a story - knobs work only once and then not updating anymore.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://storybook-addon-vue-info.netlify.com/?path=/story/compatibilities-storybook-addon-knobs--panel
  2. Click on the "Knobs" tab
  3. Type something in the "Label" input.
  4. See that the first time you write something - the data in the story will update, but then, if you will type something else - you will not see that changes are applying

Expected behavior Stories should react on knobs changing each time

Versions I have the same issue on my local storybook, and I have these versions there:

Additional context Please don't mind me if it is a "knobs" issue, just want you to know these addons are not compatible anymore. btw Info addon is amazing!

pocka commented 5 years ago

Probably https://github.com/storybookjs/storybook/issues/8165 (Duplicate of #116).


@angelika94

TL;DR This bug is an addon-knobs' bug, and the Storybook team fixed at @storybook/addon-knobs@5.3.0-alpha.9.

Workarounds:

I'm not sure whether they ship the patch in the future v5.2.x releases :confused: The easiest way I think is upgrading to v5.3.0. However, it is still in an alpha stage.