Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Grid.js) Vertical scroll calculates height wrong with enableHoriz…
…ontalScrollbar: NEVER (angular-ui#6690) * fix(Grid.js): ScrollIfNecessary does not account for scrollWidth correctly Since scrollIfNecessary is called multiple times when enableCellEditOnFocus is true we need to make sure the scrollbarWidth and footerHeight is accounted for to not cause a loop. fixes angular-ui#6653 * Add check for gridCol not null Make sure gridCol is not null before checking for enableCellEditOnFocus * fix(Grid.js) Vertical scroll calculates height wrong with enableHorizontalScrollbar: NEVER Use scrollbarHeight instead of scrollbarWidth for vertical scroll calculations. scrollbarHeight has the value 0 when enableHorizontalScrollbar is set to NEVER. Round calculated boundary values as computed style may have decimal number which will not match pixelsToSeeRow
- Loading branch information