ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Bug GridRenderContainer.prototype.adjustScrollVertical

Open jmmartinez84 opened this issue 11 years ago • 2 comments

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;
}

jmmartinez84 avatar Mar 03 '15 10:03 jmmartinez84

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.

PaulL1 avatar Mar 03 '15 14:03 PaulL1

Closing - the changes were merged.

PaulL1 avatar Mar 28 '15 21:03 PaulL1