ionic-team / ionic-team/ionic-framework
bug: Ion-Segment has layout error in Ion-Content with ion-padding
- 主要言語
- TypeScript
- スター
- 52.7k
- フォーク
- 13.3k
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 51
説明
### 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
v7.x
### Current Behavior
Ion-Segment has layout error in Ion-Content with ion-padding, it's nomarl on web and Simulator, but has layout error on device like below shows.
eg1: In Ion-Content with ion-padding, covered by Ion-Content on the left and right


### Expected Behavior
Ion-Segment has right layout on device like this:

### Steps to Reproduce
```
signup
默认
地形
影像
3D
signup
地图显示
默认
地形
影像
3D
地图显示
```
### Code Reproduction URL
https://github.com/dythbj/segment/blob/main/src/app/tab1/tab1.page.html
### Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.2.0
@angular-devkit/build-angular : 17.3.8
@angular-devkit/schematics : 17.3.8
@angular/cli : 17.3.8
@ionic/angular-toolkit : 11.0.1
Capacitor:
Capacitor CLI : 6.0.0
@capacitor/android : 6.0.0
@capacitor/core : 6.0.0
@capacitor/ios : 6.0.0
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v20.14.0 (/usr/local/bin/node)
npm : 10.7.0
OS : macOS Sonoma 14.5
### Additional Information
It's nomarl on web and Simulator, but has error on device, so i cann't give Reproduction Url.
コントリビューションガイド
評価
この issue はまだ評価されていません。