ionic-team / ionic-team/ionic-framework

bug: The scroll of ion-segment-content doesn't work properly.

Đang mở
#30,400 1 bình luận 0 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/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

Hello,
The scroll doesn't match the content of each ion-segment-content

### Expected Behavior

The scroll should adjust to the height of the content.
The scroll should scroll properly; now it just stops.

### Steps to Reproduce

Look at the example and scroll the different tabs:
https://stackblitz.com/edit/pxhxnc4c?file=src%2Fapp%2Fexample.component.html,src%2Fapp%2Fexample.component.css

### Code Reproduction URL

https://stackblitz.com/edit/pxhxnc4c?file=src%2Fapp%2Fexample.component.html,src%2Fapp%2Fexample.component.css

### Ionic Info

```
Ionic:

Ionic CLI : 7.2.1
Ionic Framework : @ionic/angular 8.5.7
@angular-devkit/build-angular : 19.2.11
@angular-devkit/schematics : 19.2.11
@angular/cli : 19.2.11
@ionic/angular-toolkit : 12.2.0

Capacitor:

Capacitor CLI : 7.2.0
@capacitor/android : 7.2.0
@capacitor/core : 7.2.0
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v22.13.1
npm : 11.3.0
OS : Windows 10
```

### Additional Information

_No response_

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

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

Hướng nghiên cứu

Start by running the StackBlitz reproduction and inspect src/app/example.component.html and src/app/example.component.css. Compare scrolling across the different tabs and identify why ion-segment-content stops before the full content height; done means each tab scrolls through all of its content correctly.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

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.