shlomiassaf / ngrid

A angular grid for the enterprise

Home Page:https://shlomiassaf.github.io/ngrid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite scroll keeps triggering data change when returning an empty array

ronnetzer opened this issue · comments

What is the expected behavior?

show the no data template

What is the current behavior?

flickering between no data and infinite scroll placeholder state

What are the steps to reproduce?

https://stackblitz.com/edit/pebula-ngrid-starter-qfxvjf
You can see that here is being called endlessly.
I've added a timer so the tab won't get stuck but in reality, I'm returning [] directly.

Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?

latest