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

Hide refs (composed Storybooks) while guided tour is active #307

Merged
merged 1 commit into from
May 15, 2024

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented May 15, 2024

To avoid issues with scrolling in the sidebar during the guided tour, this hides any composed Storybooks in the sidebar while the tour is active.

Unfortunately there is no element wrapping the composed Storybooks, or any kind of id/classname we can use to target the refs, so I ended up just hiding everything except the first element (which is the story tree of the local Storybook).

@ghengeveld ghengeveld added skip-release Auto: Preserve the current version when merged patch Auto: Increment the patch version when merged labels May 15, 2024
@ghengeveld ghengeveld merged commit 926e6b1 into main May 15, 2024
9 of 10 checks passed
@ghengeveld ghengeveld deleted the 232-when-there-are-multiple-connected-storybooks branch May 15, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Auto: Increment the patch version when merged skip-release Auto: Preserve the current version when merged
Projects
None yet
2 participants