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

TearSheet does not display in Angular project #11790

Closed
2 tasks done
wangxy98 opened this issue May 16, 2024 · 0 comments · Fixed by #11792
Closed
2 tasks done

TearSheet does not display in Angular project #11790

wangxy98 opened this issue May 16, 2024 · 0 comments · Fixed by #11792
Assignees
Labels
bug Something isn't working dev Needs some dev work severity 1 Affects major functionality, no workaround

Comments

@wangxy98
Copy link

Description

I used Tearsheet component in my Angular project. I installed the package with npm install @carbon/web-components, and added the required configuration following the document https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/main/packages/carbon-web-components#angular. And I also added import '@carbon/web-components/es/components/tearsheet/tearsheet'; in app.module.ts file, add <cds-tearsheet open></cds-tearsheet> in app.component.html file. But the tearsheet could not be displayed.
Here is an example: https://stackblitz.com/edit/stackblitz-starters-gqx63m?file=src%2Fapp%2Fapp.component.html

Angular: 15.2.8
carbon/web-components: 2.8.0
typescript: 5.2.2

Component(s) impacted

Tearsheet can not be displayed in Angular project.

Browser

Chrome, Firefox

Carbon for IBM.com version

carbon/web-components: 2.8.0

Severity

Severity 1 = The design is broken in a critical way that blocks users from completing tasks or damages the brand. Affects major functionality, no workaround.

Application/website

none

Package

@carbon/web-components

CodeSandbox example

https://stackblitz.com/edit/stackblitz-starters-gqx63m?file=package.json

Steps to reproduce the issue (if applicable)

No response

Release date (if applicable)

No response

Code of Conduct

@wangxy98 wangxy98 added bug Something isn't working dev Needs some dev work labels May 16, 2024
@annawen1 annawen1 self-assigned this May 16, 2024
@annawen1 annawen1 added the severity 1 Affects major functionality, no workaround label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev Needs some dev work severity 1 Affects major functionality, no workaround
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants