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

Nested component variant restriction bug #54

Open
alisonjoseph opened this issue May 16, 2024 · 1 comment
Open

Nested component variant restriction bug #54

alisonjoseph opened this issue May 16, 2024 · 1 comment

Comments

@alisonjoseph
Copy link

I'm seeing a bug with nested components connected with variant restrictions.

When I view the Code Connect code from the parent component the child component code ignores the variant restrictions and just renders the first code connect code sample. However if I view each nested component individually the correct code appears.

Breadcrumb (parent)

Screenshot 2024-05-16 at 1 02 31 PM

vs. Breadcrumb item (child)

Screenshot 2024-05-16 at 1 03 07 PM Screenshot 2024-05-16 at 1 03 32 PM

My figma.tsx file is here https://github.com/carbon-design-system/carbon/pull/16348/files#diff-38ea233b4b838e2f4e41e8bbd621f7524ce7496d17ef86aa3826b33f7157f9b3R16

@ptomas-figma
Copy link
Collaborator

Hi Alison, thanks for the report! The team is aware of this issue and we'll be hopefully solving it soon. Will keep you posted in this thread when the fix gets released.

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

2 participants