ionic-team / ionic-team/ionic-framework
bug: Radio button states do not match Material Design
- 主要语言
- TypeScript
- 星标
- 52.7k
- 派生
- 13.3k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 51
描述
### 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

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_
贡献指南
调研方向
Start at the ion-radio component and reproduce its hover, focus, and selected states while comparing them with the linked Material Design guidance. Done means those states visibly provide the expected feedback and the component behaves consistently with the reported reproduction steps.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- design, frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100