diff --git a/src/js/core/services/ui-grid-util.js b/src/js/core/services/ui-grid-util.js index 04106be9c3..73dfafcb4c 100644 --- a/src/js/core/services/ui-grid-util.js +++ b/src/js/core/services/ui-grid-util.js @@ -933,7 +933,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC case 'default': return element.scrollWidth - scrollLeft - element.clientWidth; case 'negative': - return scrollLeft + element.scrollWidth - element.clientWidth; + return Math.abs(scrollLeft); case 'reverse': return scrollLeft; }