Skip to content

fix: keep leading RadioButton.Item labels beside the control - #5323

Closed
pcbeingused333 wants to merge 1 commit into
callstack:mainfrom
pcbeingused333:fix/react-native-paper-4279
Closed

pcbeingused333 wants to merge 1 commit into
callstack:mainfrom
pcbeingused333:fix/react-native-paper-4279

Conversation

@pcbeingused333

Copy link
Copy Markdown

A leading RadioButton.Item places the control on the left and sets the label textAlign to right. The label text then sits on the far edge of the row.

The label is now left-aligned, so the text follows the control. A trailing item keeps its existing left alignment.

Prepared with the help of an AI coding assistant.

Fixes #4279

A leading radio sat on the left while the label used textAlign right,
so the text jumped to the far edge of the row.
@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

Copy link
Copy Markdown
Collaborator

Thanks for this! #5259 already fixes the same alignment for a leading RadioButton.Item, and Checkbox.Item too, with tests, and it came first, so I'm closing this one in its favour. Your other PRs are on the 6.1.0 milestone and get a review once 6.0.0 is out.

@Doberjohn Doberjohn closed this Nov 28, 2026
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.

RadionButton doesn't seem to implement MD3

2 participants