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 fa87b42 + 2822787 commit 5cbaf5fCopy full SHA for 5cbaf5f
src/js/core/factories/Grid.js
@@ -2310,7 +2310,7 @@ angular.module('ui.grid')
2310
//}
2311
2312
// The right position is the current X scroll position minus the grid width
2313
- var rightBound = self.renderContainers.body.prevScrollLeft + Math.ceil(self.gridWidth);
+ var rightBound = self.renderContainers.body.prevScrollLeft + Math.ceil(self.renderContainers.body.getViewportWidth());
2314
2315
// If there's a vertical scrollbar, subtract it from the right boundary or we'll allow it to obscure cells
2316
//if (self.verticalScrollbarWidth) {
0 commit comments