Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table: Lazy loading is called too many times #14099

Open
scurk1415 opened this issue Nov 13, 2023 · 3 comments
Open

Table: Lazy loading is called too many times #14099

scurk1415 opened this issue Nov 13, 2023 · 3 comments
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@scurk1415
Copy link

Describe the bug

The onLazyLoad event gets triggered too many times, when the component is initialized.

It works correctly in primeng v16.6.0, but breaks in v16.7.0

Not really sure if a longer and more detailed description is needed. The reproduction steps are down below

Environment

All

Reproducer

https://stackblitz.com/run?file=src%2Fapp%2Fdemo%2Ftable-lazy-load-demo.ts,src%2Fservice%2Fcustomerservice.ts

Angular version

16.2.0

PrimeNG version

16.7.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to https://stackblitz.com/run?file=src%2Fapp%2Fdemo%2Ftable-lazy-load-demo.ts
  2. Open console and observe network tab
  3. The https://www.primefaces.org/data/customers endpoint gets called 3 times

Expected behavior

No response

@scurk1415 scurk1415 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 13, 2023
@Pijush-Beyond
Copy link

same issue, need fix

@tleveque23
Copy link

Same here!

@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 4, 2024
@mertsincan mertsincan added this to the Future milestone Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

No branches or pull requests

4 participants