From 2ed93798aefcb80d7342d5ded5b7f21c5f8e8083 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Tue, 21 Jan 2020 09:57:28 +0300 Subject: [PATCH] Fixed #149 - Editable Dropdown loses focus --- src/components/dropdown/Dropdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index c45efc7e7..57a4c04b3 100644 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -251,7 +251,7 @@ export default { return; } - if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon')) { + if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || event.target.tagName === 'INPUT') { return; } else if (!this.$refs.overlay || !this.$refs.overlay.contains(event.target)) {