carbon-website icon indicating copy to clipboard operation
carbon-website copied to clipboard

[code snippet] live demo has bugs

Open laurenmrice opened this issue 3 years ago • 4 comments

The live demo is showing some bugs for the code snippet component.


Inline:

  • When copying the inline snippet, the word in the tooltip also appears in the field. code snippet inline

Single line:

  • When applying the light modifier, only the copy button is getting the background color change with the light prop. The field should also be getting the background change. light prop

Multiline:

  • Same bug as single line with the light prop. It is only being applied to the buttons.^

laurenmrice avatar Oct 28 '20 20:10 laurenmrice

Hello! @laurenmrice Could I fix this issue ? This issue actually traces back to this repo. Could I raise an issue there or could you and assign it to me ?

NBNARADHYA avatar Oct 30 '20 10:10 NBNARADHYA

Yes, you can fix this issue! Thanks 👍🏻

laurenmrice avatar Oct 30 '20 18:10 laurenmrice

Sure !

NBNARADHYA avatar Oct 30 '20 19:10 NBNARADHYA

This actually has not been fixed yet in the live demo on the website.

laurenmrice avatar Mar 22 '21 15:03 laurenmrice

Replaced with storybook demo https://github.com/carbon-design-system/carbon-website/pull/3716

alisonjoseph avatar Sep 08 '23 15:09 alisonjoseph