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

coral-card-title doesn't render in Vue when inside coral-card #151

Open
AlexanderYW opened this issue Feb 15, 2021 · 0 comments
Open

coral-card-title doesn't render in Vue when inside coral-card #151

AlexanderYW opened this issue Feb 15, 2021 · 0 comments

Comments

@AlexanderYW
Copy link

Expected Behavior

The coral-card-title is rendering

Actual Behavior

The coral-card-title doesn't render

Reproduce Scenario (including but not limited to)

Create a Vue3 project, import coral project code, and add all elements to render a card successfully as shown in examples

Steps to Reproduce

  • npm install -g @vue/cli
  • Create a vue3 project vue create hello-world with default options
  • npm i @adobe/coral-spectrum --save
  • import coral js and css into main.js
  • use any card example that contains coral-card-title from documentation https://opensource.adobe.com/coral-spectrum/examples/#card
  • preview your vue project, and you see coral-card-title is not rendered

Browser name/version/os (ie Chrome Version 62.0.3202.94 (Official Build) (64-bit) MacOS)

  • Chrome latest (64-bit) (Windows 10)

Coral Spectrum version

Version: 4.10.12

Sample Code that illustrates the problem (use the Playground if possible)

https://jsfiddle.net/fydks2m4/

Extra

I have a theory that it's due to the usage of "insertBefore" in card component, when I comment out line 194 to 197 in Card.js it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant