Skip to content

Commit

Permalink
fix(VCombobox): menu position may not update if multiple (#5888)
Browse files Browse the repository at this point in the history
* fix(VCombobox): menu position may not update if multiple

* fix always true check for `delimiters`

Co-Authored-By: dima74 <diraria@yandex.ru>

* fix indent
  • Loading branch information
dima74 authored and KaelWD committed Dec 18, 2018
1 parent fb43e24 commit a1065ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/vuetify/src/components/VCombobox/VCombobox.js
Expand Up @@ -57,13 +57,13 @@ export default {
if (
val &&
this.multiple &&
this.delimiters
this.delimiters.length
) {
const delimiter = this.delimiters.find(d => val.endsWith(d))
if (delimiter == null) return

this.internalSearch = val.slice(0, val.length - delimiter.length)
this.updateTags()
if (delimiter != null) {
this.internalSearch = val.slice(0, val.length - delimiter.length)
this.updateTags()
}
}

this.updateMenuDimensions()
Expand Down

0 comments on commit a1065ca

Please sign in to comment.