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

[Bug]: invalidText of horizontal CheckboxGroup is rendered on wrong place #18033

Open
2 tasks done
remagpie opened this issue Nov 11, 2024 · 0 comments · May be fixed by #18057
Open
2 tasks done

[Bug]: invalidText of horizontal CheckboxGroup is rendered on wrong place #18033

remagpie opened this issue Nov 11, 2024 · 0 comments · May be fixed by #18057

Comments

@remagpie
Copy link

Package

@carbon/react

Browser

Firefox

Package version

1.17.0

React version

18.3.0

Description

CheckboxGroup component renders the invalidText at the different position from the figma library.
With orientation="horizontal", invalidText shows at the right of the Checkboxs, and I expected it to be shown at the bottom.

Here is the screenshot from our Figma sketch:
Image

And here's the screenshot of the example react component:
Image

Reproduction/example

https://stackblitz.com/edit/github-emxaww?file=src%2FApp.jsx

Steps to reproduce

  1. Create figma checkbox group with Horizontal=on, and state=Invalid
  2. Compare the rendered component with the provided stackblitz example

Suggested Severity

Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🚦 In Review
Development

Successfully merging a pull request may close this issue.

2 participants