Skip to content

Conversation

m4m4m4
Copy link
Contributor

@m4m4m4 m4m4m4 commented Apr 23, 2018

Do not trigger a cell edit when the event is undefined, if needed through API pass a null object instead.

Fixes: #6591

macomage and others added 5 commits April 12, 2018 13:35
…ectly 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
Make sure gridCol is not null before checking for enableCellEditOnFocus
…ontalScrollbar: 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
Do not trigger a cell edit when the event is undefined, if needed through API pass a null object instead.
@mportuga mportuga merged commit 615fe49 into angular-ui:master Apr 24, 2018
defields923 pushed a commit to defields923/ui-grid that referenced this pull request Oct 30, 2018
…6691) * 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 * Fix(cellnav.js), do not trigger edit on undefined event Do not trigger a cell edit when the event is undefined, if needed through API pass a null object instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants