Skip to content

fix(tree-select): fixed error for test unit #96

Merged
merged 1 commit into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = {
'toggle',
'tooltip',
'tree',
'tree-select',
'typography',
'visual'
]
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tree-select/tree-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ export class McTreeSelect extends McTreeSelectMixinBase implements
event.preventDefault();

this.open();
} else if (!this.multiple) {
} else if (!this.multiple && this.tree.keyManager && this.tree.keyManager.onKeydown) {
this.tree.keyManager.onKeydown(event);
}
}
Expand Down