Thanks to visit codestin.com Credit goes to github.com
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.
1 parent c4483de commit 2822787Copy full SHA for 2822787
src/js/core/factories/Grid.js
@@ -2298,7 +2298,7 @@ angular.module('ui.grid')
2298
//}
2299
2300
// The right position is the current X scroll position minus the grid width
2301
- var rightBound = self.renderContainers.body.prevScrollLeft + Math.ceil(self.gridWidth);
+ var rightBound = self.renderContainers.body.prevScrollLeft + Math.ceil(self.renderContainers.body.getViewportWidth());
2302
2303
// If there's a vertical scrollbar, subtract it from the right boundary or we'll allow it to obscure cells
2304
//if (self.verticalScrollbarWidth) {
0 commit comments