Skip to content

Commit

Permalink
Merge pull request #7618 from EcoFreak/fix-key-press-draggable-tree
Browse files Browse the repository at this point in the history
Fixes #7617
  • Loading branch information
cagataycivici authored May 10, 2019
2 parents 47dbb91 + a42d49a commit 1bb1646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class UITreeNode implements OnInit {
switch (event.which) {
//down arrow
case 40:
const listElement = nodeElement.children[0].children[1];
const listElement = (this.tree.droppableNodes) ? nodeElement.children[1].children[1] : nodeElement.children[0].children[1];
if (listElement) {
this.focusNode(listElement.children[0]);
}
Expand Down

0 comments on commit 1bb1646

Please sign in to comment.