ionic-team / ionic-team/ionic-framework

bug: Radio button states do not match Material Design

Offen
#26,077 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
package: core type: bug
Vorherrschende Sprache
TypeScript
Sterne
52.7k
Forks
13.3k
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
51

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.