mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +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()
|
this.maybeAdjustScroll()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
open(open) {
|
||||||
|
if (this.autoscroll && open) {
|
||||||
|
this.$nextTick(() => this.maybeAdjustScroll())
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user