question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Addon-docs: Docs mode shouldn't render "Canvas" & "Docs" tabs

See original GitHub issue

Describe the bug

In 5.2 when Storybook is compile in --docs mode the “Canvas” & “Docs” tabs are not rendered, which is great.

In 5.3.6 it doesn’t seems to be the case anymore:

image

To Reproduce Steps to reproduce the behavior:

  1. Start storybook with --docs

Expected behavior

“Canvas” & “Docs” tabs are not rendered.

image

Screenshots If applicable, add screenshots to help explain your problem.

Code snippets If applicable, add code samples to help explain your problem.

System:

Environment Info:

System: OS: Windows 10 10.0.17763 CPU: (8) x64 Intel® Core™ i7-6700HQ CPU @ 2.60GHz Binaries: Node: 12.5.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.21.1 - C:\Dev\20_gsoft\sg-orbit\node_modules.bin\yarn.CMD npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: 44.17763.831.0

Additional context Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
danielbayerleincommented, Mar 11, 2020

Exists a solution for this problem?

0reactions
prsdtacommented, Apr 2, 2020

Hi, passing by as I had the same issue, @shilman advice worked for me.

I just had to clean the sessionStorage since I used the same browser to browse the development version and the --docs version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docs Addon | Storybook: Frontend workshop for UI ...
DocsPage pulls information from your stories, components, source code, and story metadata to construct a sensible, zero-config default. Click on the Docs tab...
Read more >
How to disable 'Docs' tab in storybook?
This will hide docs panel and show canvas only: ... import { addons } from '@storybook/addons'; addons. ... To hide the "Canvas" tab:...
Read more >
Docs / Advanced usage - Embed Multiple Designs ⋅ Storybook
The addon can render contents to Design tab instead of in an addon panel. To do this, you need to set "tab" to...
Read more >
Setup CSF + MDX stories with @storybook/addon-docs - GitLab
Note that while we get a new Docs tab thanks to @storybook/addon-docs , we don't deprecate the Canvas tab where we can still...
Read more >
Google Docs will now use canvas based rendering
(Obviously browser engines support text selections, but they probably don't expose the underlying primitives the way a word processor would need ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found