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]: Controls don't persist when page is reloaded or moved to iframe #24941

Open
joseangel-mm opened this issue Nov 21, 2023 · 3 comments
Open
Assignees

Comments

@joseangel-mm
Copy link

Describe the bug

Hi,

In our team, we discovered there is an issue related to some controls when the storybook page is reloaded or moved to the iframe view.

To Reproduce

Basically, this error happens when defaultValues are set to the component we want to see in the storybook.

componentName.defaultProps = defaultProps;.

We believe this set overwrites the controls we manage in the storybook page.

Screen.Recording.2023-11-21.at.16.25.17.mov

System

Any OS.

Additional context

The issue has been tested on 6.5.10 and 7.5.3 (the latest one).

@joseangel-mm
Copy link
Author

Here you have a test project to check it:

@shilman shilman moved this to Empathy Backlog in Core Team Projects Jan 3, 2024
@shilman
Copy link
Member

shilman commented Jan 3, 2024

Related #25035

@joseangel-mm
Copy link
Author

Related #25035

Hi @shilman, thanks for your response, it is related but that issue is just for booleans, in this one we have the issue with every data type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Empathy Backlog
Development

No branches or pull requests

3 participants