Skip to content

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

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

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.

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.

RadionButton doesn't seem to implement MD3

1 participant