You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tab is hidden when you go directly to the story, but if you navigate to another story, click the Docs tab for that story, then navigate back to the Docs/Grid story, you’re in the Docs panel, even though Docs is hidden for that story.
To Reproduce
Steps to reproduce the behavior:
Add the following config to a story to hide the Docs tab:
Navigate to a different story that doesn’t have the “Docs” tab hidden.
Click the “Docs” tab.
Navigate back to the original story with the hidden “Docs” tab.
This story will be in the “Docs” panel, even though it should be hidden.
Expected behavior
I would expect that when navigating to a story with a hidden “Docs” panel from another story’s “Docs” panel, you would be redirected to the default “Canvas” panel for that story.
Screenshots
This is what it looks like when you’ve navigated back to the story with the hidden “Docs” tab from another story’s “Docs” panel.
Code snippets
This is the config I have set up for the story with. the hidden “Docs” panel:
@brandondurham you can add viewMode: 'story', into parameters for stories with disabled docs. After that, it will redirect into the canvas tab even when you were on docs before.
Describe the bug
I’ve hidden the Docs tab in my story using the following parameter:
The tab is hidden when you go directly to the story, but if you navigate to another story, click the Docs tab for that story, then navigate back to the
Docs/Grid
story, you’re in the Docs panel, even though Docs is hidden for that story.To Reproduce
Steps to reproduce the behavior:
Add the following config to a story to hide the Docs tab:
Navigate to a different story that doesn’t have the “Docs” tab hidden.
Click the “Docs” tab.
Navigate back to the original story with the hidden “Docs” tab.
This story will be in the “Docs” panel, even though it should be hidden.
Expected behavior
I would expect that when navigating to a story with a hidden “Docs” panel from another story’s “Docs” panel, you would be redirected to the default “Canvas” panel for that story.
Screenshots
This is what it looks like when you’ve navigated back to the story with the hidden “Docs” tab from another story’s “Docs” panel.
Code snippets
This is the config I have set up for the story with. the hidden “Docs” panel:
System
The text was updated successfully, but these errors were encountered: