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]: Args are reset after refresh page in browser #27215

Open
ilya2306 opened this issue May 21, 2024 · 0 comments
Open

[Bug]: Args are reset after refresh page in browser #27215

ilya2306 opened this issue May 21, 2024 · 0 comments

Comments

@ilya2306
Copy link
Contributor

ilya2306 commented May 21, 2024

Describe the bug

I'm using storybook version 8.1 and I'm having a problem.
The essence of the problem is as follows. I use the controls for the component, set the values ​​in the controls and refresh the page. At the same time, the values ​​in the controls are reset.

Reproduction link

https://stackblitz.com/edit/github-ytbumi

Reproduction steps

  1. open canvas tab
  2. change controls (set label)
  3. press "open canvas in new tab" link

System

Storybook Environment Info:

  System:
    OS: macOS 12.7.4
    CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.10.0 - /usr/local/bin/node
    Yarn: 1.22.21 - ~/.node_modules_global/bin/yarn
    npm: 10.2.5 - ~/.node_modules_global/bin/npm <----- active
  Browsers:
    Chrome: 124.0.6367.208
    Safari: 17.4.1
  npmPackages:
    @storybook/addon-a11y: ^8.1.1 => 8.1.1 
    @storybook/addon-coverage: ^1.0.3 => 1.0.3 
    @storybook/addon-essentials: ^8.1.1 => 8.1.1 
    @storybook/addon-interactions: ^8.1.1 => 8.1.1 
    @storybook/addon-links: ^8.1.1 => 8.1.1 
    @storybook/blocks: ^8.1.1 => 8.1.1 
    @storybook/manager-api: ^8.1.1 => 8.1.1 
    @storybook/react: ^8.1.1 => 8.1.1 
    @storybook/react-vite: ^8.1.1 => 8.1.1 
    @storybook/test: ^8.1.1 => 8.1.1 
    @storybook/theming: ^8.1.1 => 8.1.1 
    eslint-plugin-storybook: ^0.8.0 => 0.8.0 
    storybook: ^8.1.1 => 8.1.1 
    storybook-addon-description: ^0.0.5 => 0.0.5

Additional context

No response

@ilya2306 ilya2306 changed the title [Bug]: Args are reset after refresh page in browser, if using destructing [Bug]: Args are reset after refresh page in browser May 21, 2024
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

1 participant