ionic-team / ionic-team/ionic-framework

bug: Radio button states do not match Material Design

Abierto
#26,077 0 comentarios 1 reacción 0 asignados Ver en GitHub
package: core type: bug
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

- [ ] v4.x
- [ ] v5.x
- [X] v6.x
- [ ] Nightly

### Current Behavior

The `ion-radio` does not have an indicator on hover, focus and selected.

### Expected Behavior

`ion-radio` should closely match the radio button states outlined here: https://material.io/components/radio-buttons/web#other-variants

![](https://lh3.googleusercontent.com/am0y9op4K0ORgkVvLUmTP6dEVYMatPkplaZIr75ck96ZWNbKCXfORcuaN3V5Lmaq_QMYjOpB5WC6Qm0diCwedTJYb8bNV143RYeDrK0H9pn5AgK3h-w=w1064-v0)

This would align with the recent efforts made to `ion-range` in 6.3.0.

### Steps to Reproduce

1. Render an `ion-radio`
2. Hover/Focus/Select the radio
3. Observe: No indicator is displayed as feedback to the user (outside of the checked state).

### Code Reproduction URL

_No response_

### Ionic Info

N/A

### Additional Information

_No response_

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.