ui-grid
ui-grid copied to clipboard
Bug GridRenderContainer.prototype.adjustScrollVertical
This code:
if (typeof(scrollTop) === 'undefined' || scrollTop === undefined || scrollTop === null) {
scrollTop = (this.getCanvasHeight() - this.getCanvasWidth()) * scrollPercentage;
}
Should be:
if (typeof(scrollTop) === 'undefined' || scrollTop === undefined || scrollTop === null) {
scrollTop = (this.getCanvasHeight() - this.getViewportHeight()) * scrollPercentage;
}
Any chance you could do a PR for this - perhaps referring to the first timers guide if you need to? Changes are much more likely to get merged if submitted as a PR.
Closing - the changes were merged.