From 521337051b2a97d16fa58f421a131d8a56749c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20TINANT?= Date: Mon, 31 Jul 2017 11:44:27 +0200 Subject: [PATCH] fix: Dropdown no open when click on tree-select --- src/ngx-tree-select/src/components/tree-select.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngx-tree-select/src/components/tree-select.component.ts b/src/ngx-tree-select/src/components/tree-select.component.ts index b84db2d..db8e18b 100644 --- a/src/ngx-tree-select/src/components/tree-select.component.ts +++ b/src/ngx-tree-select/src/components/tree-select.component.ts @@ -160,12 +160,12 @@ export class TreeSelectComponent implements ControlValueAccessor { } this.haveFocus = false; } - this.svc.close(); } // Set touched on blur @HostListener('blur') public onTouched() { + this.svc.close(); this.onTouchedCallback(); }