ionic-team / ionic-team/ionic-framework
bug: ion-select radio button inner sometimes not exactly centered
- Langage dominant
- TypeScript
- Étoiles
- 52.7k
- Forks
- 13.3k
- Merge moyen
- 1 j 15 h
- PR mergées (30 j)
- 51
Description
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/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
v8.x
### Current Behavior
The radio button inner of a selected element is on some display resolutions not perfectly centered:

### Expected Behavior
The radio button inner should be centered on all devices
### Steps to Reproduce
look at radio buttons on different devices. Easily reproduceable if application is run in a web browser
### Code Reproduction URL
https://stackblitz.com/run?file=package.json
### Ionic Info
Ionic:
Ionic CLI : 6.18.0
Utility:
cordova-res : 0.15.4
native-run : 1.5.0
System:
NodeJS : v18.17.1
npm : 10.0.0
OS : Windows 10
### Additional Information
It seems as the inner of the radio button is positioned absolute with pixels, i temporarily fixed the problem by positioning it with the following css:
.alert-radio-icon {
display: flex;
align-items: center;
justify-content: center;
}
.alert-radio-inner {
position: unset;
}
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.