angular-ui/ui-grid

scrollTo broken

Open

#5,668 opened on Sep 9, 2016

View on GitHub
 (1 comment) (1 reaction) (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

I'm trying to use scrollTo to scroll to a particular row, but it scrolls well past the row I told it to.

In fact, the tutorial page on your website has the same problem, http://ui-grid.info/docs/#/tutorial/304_two_grids

It says it will scroll to row 20, but in fact scrolls well past it. more like row 40.

Contributor guide