2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-13 08:32:26 +03:00

separate typeahead pointer logic into mixin

This commit is contained in:
Jeff Sagal
2016-05-31 17:11:13 -07:00
parent 2f9a1ff5b0
commit 3c668fd45e
3 changed files with 70 additions and 49 deletions
+6
View File
@@ -1,4 +1,10 @@
export default {
watch: {
typeAheadPointer() {
this.maybeAdjustScroll()
}
},
methods: {
/**
* Adjust the scroll position of the dropdown list