ionic-team / ionic-team/ionic-framework

bug: The ionInfinite event of the ion-infinite-scroll component will not be triggered when entering the page for the first time

Đang mở
#30,670 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
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

v7.x

### Current Behavior

Due to the fact that the ionInfinite event is not automatically triggered when entering the page, the page data is empty upon initial entry, and a manual scroll is required to trigger it

### Expected Behavior

After entering the page, the ion-infinite-scroll component should automatically trigger the ionInfinite event to load data, rather than manually loading the first page of data when entering the page

### Steps to Reproduce

xxx




### Code Reproduction URL

https://stackblitz.com/edit/vitejs-vite-rfelvggu?file=README.md

### Ionic Info

Ionic:

Ionic CLI : 7.0.14

Utility:

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

System:

NodeJS : v20.19.1
npm : 10.8.2
OS : Linux 5.0

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