angular-ui/ui-grid

[infinite scroll] Loading more data on the top jumps scroll up a page

已关闭

#5,189 创建于 2016年3月3日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (2,496 个派生)batch import
help wanted

仓库指标

星标
 (5,395 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

scrollbug

This is from the demo here.

Steps to reproduce:

  1. Scroll all the way to the bottom, so that firstPage is 1 and lastPage is 4.
  2. Scroll all the way to the top. It helps if you go slowly once you reach the top.
  3. When the new data is loaded (firstPage becomes 0), the scroll position jumps up a page.

贡献者指南