ionic-team / ionic-team/ionic-framework

bug: Radio button states do not match Material Design

Đang mở
#26,077 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
package: core type: bug
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.