Skip to content

Commit

Permalink
fix(cellNav): cellNav not getting attached to left container if it is…
Browse files Browse the repository at this point in the history
… built after body is rendered

fixes one of issues in #4035
  • Loading branch information
swalters committed Jul 31, 2015
1 parent 6b5807f commit 36f386f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/features/cellnav/js/cellnav.js
Original file line number Diff line number Diff line change
Expand Up @@ -925,13 +925,15 @@

var grid = uiGridCtrl.grid;

//run each time a render container is created
uiGridCellNavService.decorateRenderContainers(grid);

// focusser only created for body
if (containerId !== 'body') {
return;
}

// Needs to run last after all renderContainers are built
uiGridCellNavService.decorateRenderContainers(grid);


if (uiGridCtrl.grid.options.modifierKeysToMultiSelectCells){
$elm.attr('aria-multiselectable', true);
Expand Down

0 comments on commit 36f386f

Please sign in to comment.