mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
fix: autoscroll should scroll to item when opening dropdown (#1513)
This commit is contained in:
@@ -12,6 +12,11 @@ export default {
|
||||
this.maybeAdjustScroll()
|
||||
}
|
||||
},
|
||||
open(open) {
|
||||
if (this.autoscroll && open) {
|
||||
this.$nextTick(() => this.maybeAdjustScroll())
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user