Fix options inside optgroups (active check is unnecessary)
This commit is contained in:
parent
af01c3c89f
commit
fd484f9766
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ module.exports = function($window) {
|
|||
//setting input[value] to same value by typing on focused element moves cursor to end in Chrome
|
||||
if (vnode.tag === "input" && key === "value" && vnode.dom.value === value && vnode.dom === $doc.activeElement) return
|
||||
//setting option[value] to same value while having select open blinks select dropdown in Chrome
|
||||
if (vnode.tag === "option" && key === "value" && vnode.dom.value === value && vnode.dom.parentNode === $doc.activeElement) return
|
||||
if (vnode.tag === "option" && key === "value" && vnode.dom.value === value) return
|
||||
element[key] = value
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue