Fixed #149 - Editable Dropdown loses focus

pull/160/head
cagataycivici 2020-01-21 09:57:28 +03:00
parent e590e10258
commit 2ed93798ae
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {