angular-ui/ui-grid

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

Fechada

#5.189 aberto em 3 de mar. de 2016

 (1 comentário) (0 reação) (0 responsável)JavaScript (2.496 forks)batch import
help wanted

Métricas do repositório

Stars
 (5.395 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador