Skip to content

Commit

Permalink
Fixed #149 - Editable Dropdown loses focus
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jan 21, 2020
1 parent e590e10 commit 2ed9379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dropdown/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2ed9379

Please sign in to comment.