angular-ui/ui-grid

On clicking last few row cells of large ui-grid, the grid scrolls to top to show header

Open

#5,228 opened on Mar 14, 2016

View on GitHub
 (0 comments) (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

I'm using ui-grid - v3.1.1(assuming that is the latest version). I have a large table with editable cells(with custom row height) that allows user to input values. When the last few rows of the cells are clicked in order to enter text(since table is large, the header is not visible while viewing last few rows), the table automatically scrolls to the top, causing a slight shift in the grid which is very annoying to the users(tested in Chrome and IE11, seeing the same issue, surprisingly firefox does not exhibit this behaviour). Any ideas/hacks to fix this behavior?

Contributor guide