Fixed #149 - Editable Dropdown loses focus
parent
e590e10258
commit
2ed93798ae
|
@ -251,7 +251,7 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon')) {
|
if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || event.target.tagName === 'INPUT') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (!this.$refs.overlay || !this.$refs.overlay.contains(event.target)) {
|
else if (!this.$refs.overlay || !this.$refs.overlay.contains(event.target)) {
|
||||||
|
|
Loading…
Reference in New Issue