callstack / callstack/react-native-paper

RadionButton doesn't seem to implement MD3

Abierto
#4,279 1 comentario 1 reacción 0 asignados Ver en GitHub
bug RadioButton
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

### Current behaviour
According to the MD3 spec (https://m3.material.io/components/radio-button/guidelines), `RadioButton` should have a different look-n-feel than it currently does. For example, in "leading" mode the label should follow the button after some margin but instead its right-aligned towards then end of the screen:

```tsx

```

### Expected behaviour

`RadioButton` should match the MD3 spec.

### How to reproduce?

Just use `RadioButton` and compare it to the MD3 spec.

### Preview

![Screenshot_1705410465](https://github.com/callstack/react-native-paper/assets/17277/5e083530-ec90-47d3-a3b4-08723d4de4b1)

### What have you tried so far?

Tried different combinations of `RadioButton.Group`, `RadioButton`, and `RadioButton.Android`.

### Your Environment

| software | version
| --------------------- | -------
| ios | x
| android | x
| react-native | 0.71.14
| react-native-paper | 5.11.4
| node | 18.16.1
| npm. | 9.5.1
| expo sdk | not used

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.