We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f715767 + 0d7d37b commit a1e6a04Copy full SHA for a1e6a04
src/js/core/factories/Grid.js
@@ -2332,7 +2332,7 @@ angular.module('ui.grid')
2332
//}
2333
2334
// This is the minimum amount of pixels we need to scroll vertical in order to see this row.
2335
- var pixelsToSeeRow = ((seekRowIndex + 1) * self.options.rowHeight);
+ var pixelsToSeeRow = (seekRowIndex * self.options.rowHeight + self.headerHeight);
2336
2337
// Don't let the pixels required to see the row be less than zero
2338
pixelsToSeeRow = (pixelsToSeeRow < 0) ? 0 : pixelsToSeeRow;
0 commit comments