akveo / akveo/nebular

Infinite list updates data extra time

未關閉
#1,811 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
bug module:components P2: important quality
主要語言
TypeScript
星號
8.1k
分支
1.5k
PR 合併指標
30 天內沒有已合併 PR

描述

### Issue type

**I'm submitting a ...** (check one with "x")

* [ x] bug report
* [ ] feature request

### Issue description

**Current behavior:**

When it receives just a few items and it's not enough for displaying scroll
then list triggers event for getting next batch of data. In case of search logic, we will see not relevant data

**Expected behavior:**

Infinite list should not trigger a new update event

**Steps to reproduce:**

**Related code:**

```
const distanceToBottom = scrollHeight - scrollTop - clientHeight;
```

### Other information:

**npm, node, OS, Browser**
```

```

**Angular, Nebular**
```

```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。