Topic: infinite ngFor
dimitribocquet pro asked 5 years ago
Hello,
I noticed my ngFor triggered as soon as I scrolled, or did any action on the app. So I did 2 new projects: one under MDB 8.0 and the other under Angular CLI. As shown in the video below, the ngFor in MDB is infinite while on Angular CLI it is triggered only at the beginning.
ngFor must behave as in the Angular CLI project, for performance reasons.
Resources (screenshots, code snippets etc.)
Video: https://streamable.com/obopo
Thank you!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.0.0
- Device: Macbook Pro
- Browser: Chrome
- OS: OSX
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 5 years ago
How can we reproduce that? If it's possible please send the admin template demo on which you tested this loop to a.idzikowski@mdbootstrap.com. We need to know the logic behind the ngFor loop you created.