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).
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).