Skip to content

Commit

Permalink
Merge pull request #12776 from storybookjs/fix_issue_12481
Browse files Browse the repository at this point in the history
Chore: Docs updates for issue #12481
  • Loading branch information
jonniebigodes authored and shilman committed Oct 16, 2020
1 parent ab6b1fc commit 22f2afe
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/workflows/faq.md
Expand Up @@ -73,6 +73,19 @@ class MyComponent extends Component {
export const defaultView = () => <MyComponent initialState={} />;
```


### Why aren't Controls visible in the Canvas panel but visible in the Docs panel?

If you're adding Storybook's dependencies manually, make sure you to include the [`@storybook/addon-controls`](https://www.npmjs.com/package/@storybook/addon-controls) dependency in your project and reference it in your `.storybook/main.js` as follows:

```js
// .storybook/main.js

module.exports = {
addons: ['@storybook/addon-controls'],
};
```

### Why i'm getting errors with react-popper and Storybook?

If you're using the `react-popper` in your own project and you're experiencing issues with Storybook. You can solve them by adding the `--no-dll` command line flag. Take a look at the [cli options page](../api/cli-options.md) to see how you can use the flag in your project.
Expand Down

0 comments on commit 22f2afe

Please sign in to comment.