Skip to content

fix(Checkbox,RadioButton): start-align label with position=leading - #5259

Open
EnesKartal wants to merge 1 commit into
callstack:mainfrom
EnesKartal:fix/issue-5251
Open

EnesKartal wants to merge 1 commit into
callstack:mainfrom
EnesKartal:fix/issue-5251

Conversation

@EnesKartal

Copy link
Copy Markdown
Contributor

Fixes #5251

Updates CheckboxItem and RadioButtonItem so the label is start-aligned ('left' in LTR / native, 'right' in web RTL via useLocale()) regardless of position='leading' vs position='trailing', keeping the label next to the leading control instead of pushing it to the far edge.

Verified locally with
px jest src/components/tests/Checkbox/CheckboxItem.test.tsx src/components/tests/RadioButton/RadioButtonItem.test.tsx (17 passed, 7 snapshots passed) and
px tsc --noEmit.

Copilot AI balanced review requested due to automatic review settings November 20, 2026 08:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@github-actions

Copy link
Copy Markdown

Found potential problems with the pull request:

  • Screenshot or video evidence is missing. Make sure to include one if it affects the UI.

@Doberjohn Doberjohn added this to the 6.1.0 milestone Nov 20, 2026

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

Checkbox.Item and RadioButton.Item: with position="leading" the label aligns to the far edge

3 participants