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

Fix regression in the #root to #storybook-root change #19848

Merged
merged 2 commits into from
Nov 17, 2022
Merged

Fix regression in the #root to #storybook-root change #19848

merged 2 commits into from
Nov 17, 2022

Conversation

jpzwarte
Copy link
Member

This fixes a regression in 36702eb#diff-d4f25936c153d9c0026feff4b56938aa365ac3556278f296a0c6809daef4dc30R62

The CSS for hiding the inactive iframe was changed to #storybook-root [data-is-storybook="false"], but the root id wasn't. So this CSS no longer applies, which causes composition to break: sometimes the active iframe is obscured by the inactive iframe. This PR fixes that.

@ndelangen ndelangen merged commit 4bf9d31 into storybookjs:next Nov 17, 2022
@ndelangen
Copy link
Member

Awesome, thanks @jpzwarte !

@ndelangen ndelangen self-assigned this Nov 17, 2022
@jpzwarte jpzwarte deleted the fix/regression-root-to-storybook-root branch November 17, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants