appbaseio / appbaseio/reactivesearch

Infinite scroll creates duplicate records

オープン
#876 コメント 7 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug Needs Example
主要言語
JavaScript
スター
4.9k
フォーク
478
PR マージ指標
30日以内にマージされた PR はありません

説明

**Issue Type:**
Bug

**Platform:**
Web

**Description:**
When using infinite scroll, if you scroll down past the first page or so it shows new results but loads duplicate hits. It appears the duplicates are the last hit of the previous "page". In addition to showing duplicates, it also throws a React error:

Warning: Encountered two children with the same key, `{id}`. Keys should be unique so that
components maintain their identity across updates. Non-unique keys may cause children to be
duplicated and/or omitted — the behavior is unsupported and could change in a future version.

**Screenshots:**
[Video demo of issue](https://champs.hippovideo.io/video/play/EX5wnpY5-TKfJ_wg5SgC66fD-V2Ds4-EsR0dLQ7eU3o)

**Reactivesearch version:** x.y.z
3.0.0-beta.10

**Browser:**
All

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。