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

Docs tab (@storybook/addon-docs): canvas' content copying doesn't work #18443

Closed
jphawk opened this issue Jun 9, 2022 · 1 comment
Closed

Comments

@jphawk
Copy link

jphawk commented Jun 9, 2022

Describe the bug
Nothing can be copied from the canvas preview (.sbdocs-preview container) in the Docs tab (@storybook/addon-docs). The bug disappears if Storybook settings in preview.js has inlineStories: false in docs parameters. The content of the canvas can be copied.

To Reproduce

  1. Navigate to Docs tab in a Story
  2. Copy some text from there, try to paste it to somewhere

System
System:
OS: macOS 12.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 14.17.3 - /usr/local/bin/node
npm: 8.12.0
Browsers:
Chrome: 102.0.5005.61
Edge: 102.0.1245.33
Firefox: 95.0
Safari: 15.5
npmPackages:
@storybook/addon-a11y: 6.4.22 => 6.4.22
@storybook/addon-docs: 6.5.3 => 6.5.3
@storybook/addon-essentials: 6.4.22 => 6.4.22
@storybook/addon-jest: 6.4.22 => 6.4.22
@storybook/addon-storysource: 6.4.22 => 6.4.22
@storybook/addons: 6.4.22 => 6.4.22
@storybook/builder-webpack5: 6.4.22 => 6.4.22
@storybook/manager-webpack5: 6.4.22 => 6.4.22
@storybook/preset-create-react-app: 4.1.0 => 4.1.0
@storybook/react: 6.4.22 => 6.4.22
@storybook/theming: 6.4.22 => 6.4.22

@pocka
Copy link
Contributor

pocka commented Aug 8, 2022

Duplicate of #18611

@pocka pocka marked this as a duplicate of #18611 Aug 8, 2022
@pocka pocka closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants