We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de814c commit 49f0290Copy full SHA for 49f0290
src/index.js
@@ -125,7 +125,7 @@ const VirtualList = Vue.component('virtual-list', {
125
scrollToBottom () {
126
const { shepherd } = this.$refs
127
if (shepherd) {
128
- shepherd.scrollIntoView(false)
+ this.scrollToOffset(shepherd[this.isHorizontal ? 'offsetLeft' : 'offsetTop'])
129
130
// check if it's really scrolled to the bottom
131
// maybe list doesn't render and calculate to last range
0 commit comments