mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-15 04:42:23 +08:00
fix(select): multiple select menu won't change position when tags are multiple lines
This commit is contained in:
parent
c892397c87
commit
628564b077
@ -220,8 +220,6 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
created () {
|
||||
},
|
||||
beforeDestroy () {
|
||||
document.removeEventListener('click', this.nativeCloseMenu)
|
||||
},
|
||||
@ -280,6 +278,7 @@ export default {
|
||||
this.emitChangeEvent(item, true)
|
||||
}
|
||||
this.$emit('input', newSelectedValues)
|
||||
this.$nextTick().then(this.updatePosition)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user