angular-ui/ui-grid

Editing rows with 2+ expandable grids open = scroll jump

Open

#5,057 opened on Feb 2, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
grid-editgrid-infinite-scrollgrid-row-edithelp wantedtype: bug

Description

Plunkr

Steps to reproduce:expand rows with ids 0 and 1, then try to double click on row with id = 2 to edit it.

When trying to edit row id=2, the table jumps/scrolls, both cancelling the edit and sometimes moving the row out of the viewport. Additionally, scrolling past the two expanded rows causes the scrolling to jump.

I'm guessing this has something to do with virtualizing the expanded grids. Is there a way to turn off the virtualization of the expanded grid if this is the case?

Contributor guide