#6 Search results are sometimes appended when the old list should be cleared instead.

クローズ
6 年 前zPlus によって開かれました · 0 コメント
zPlus6 年 前 にコメントしました

How to reproduce

  1. search something. Wait till search ended.
  2. click X, will start a new search.
  3. click back button to hide keyboard before search in 2. is finished

This seems related to the change of visible space when the keyboard is shown/hidden.

What is likely causing the problem: when the list is reaching the bottom, an automatic request is sent to fetch more radios. The new request is sent because hiding/showing the keyboard fires a new "onScroll" event. Since each new requests kills all previous ones (even if they've not completed), this new automatic request is interpreted as "get more results" instead of "get new results".

How to reproduce 1. search something. Wait till search ended. 2. click `X`, will start a new search. 3. click `back` button to hide keyboard **before** search in `2.` is finished This seems related to the change of visible space when the keyboard is shown/hidden. What is likely causing the problem: when the list is reaching the bottom, an automatic request is sent to fetch more radios. The new request is sent because hiding/showing the keyboard fires a new "onScroll" event. Since each new requests kills all previous ones (even if they've not completed), this new automatic request is interpreted as "get more results" instead of "get new results".
zPlus この課題がコミット 6 年 前 から参照されました
zPlus 6 年 前 に閉じられました
会話に参加するには サインイン してください。
ラベルなし
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません