angular-ui/ui-grid

Issue with Infinite scroll while scrolling upwards

Open

#5,555 opened on Jul 15, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
help wanted

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

http://plnkr.co/edit/Ueb6gr3Z0xqX5jwm9RMI?p=preview

This is the plunkr on UI Grid Infinite scroll tutorial (Just made 1 change, replaced lastpage < 4 to 14)

To reproduce the issue: Keep scrolling down to atleast 7-8 pages. Now when you scroll upwards it is seen that there is no smooth scrolling, the data on the grid changes directly by 100 steps for example when I scroll from 700 to 600 instead of seeing all the records in between I notice a jump of 100 i.e. direct jump from 700 to 600 then directly to 500th record.. then to 400, etc Please help

Contributor guide