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

Controls are not ejectable #12675

Closed
raphaellueckl opened this issue Oct 6, 2020 · 1 comment
Closed

Controls are not ejectable #12675

raphaellueckl opened this issue Oct 6, 2020 · 1 comment

Comments

@raphaellueckl
Copy link

Describe the bug
Storybook-Controls are not transfering the state if you eject the component. We run our UI tests based on knobs, which you can configure and eject (1 page with only this component in it and nothing else), to run tests onto.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the official demo example: https://next--storybookjs.netlify.app/official-storybook/?path=/story/addons-controls--basic
  2. In the 'Controls' Tab, manipulate the text of the button.
  3. Click on the top right "share"-button.
  4. A new tab opens with the isolated component, but the state set by the controls is not transferred.

Expected behavior
The new page should contain the attributes set by the controls, like with storybook-knobs.

Screenshots

Screen-Recording-2020-10-06-at-1

@shilman
Copy link
Member

shilman commented Oct 6, 2020

Closing this as a dupe to #12291 (it's not quite a dupe, but we'll solve it all at once, as part of 6.1)

@shilman shilman closed this as completed Oct 6, 2020
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