Skip to content

Commit

Permalink
Fix bug where if you try to arrow out of the treegrid, you can't tab …
Browse files Browse the repository at this point in the history
…back in again
  • Loading branch information
aleventhal committed Apr 24, 2017
1 parent d27025b commit 2c2d77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/treegrid/js/treegrid-row-nav-primary-1.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function TreeGrid (treegridElem, doAllowRowFocus, doStartRowFocus) {
}

function focus (elem) {
elem.tabIndex = -1; // Ensure focusable
elem.tabIndex = 0; // Ensure focusable
elem.focus();
}

Expand Down

0 comments on commit 2c2d77c

Please sign in to comment.