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

ng-deep style is not displayed in storybook #17928

Open
AleSergio opened this issue Apr 11, 2022 · 2 comments
Open

ng-deep style is not displayed in storybook #17928

AleSergio opened this issue Apr 11, 2022 · 2 comments

Comments

@AleSergio
Copy link

Describe the bug
SCSS file with :host ::ng-deep is not displayed in storybook, but it is displayed in application. Could it be that we are missing some configuration for storybook or some plugins? Or it is just a common issue with storybook with ng-deep.

To Reproduce

  1. Make angular application.
  2. Add storybook.
  3. Create 2 SCSS one with :host ::ng-deep and one without.

Repository with this bug:
https://github.com/AleSergio/storybook-deep

System
Storybook result:
image

Application result:
image

@TheColorRed
Copy link

We have seen this issue too, we found that adding the styes to the styles: [] it works, however, this is not a good solution but seems to work.

@lacroixdavid1
Copy link

lacroixdavid1 commented Apr 25, 2023

Does anyone have a good solution for this?

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

3 participants