Skip to content

Commit dad6b32

Browse files
committed
fix: scrollToBottom
1 parent 7ffd776 commit dad6b32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/DynamicScroller.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ export default {
191191
const el = this.$el
192192
// Item is inserted to the DOM
193193
this.$nextTick(() => {
194-
el.scrollTop = el.scrollHeight
194+
el.scrollTop = el.scrollHeight + 5000
195195
// Item sizes are computed
196196
const cb = () => {
197-
el.scrollTop = el.scrollHeight
197+
el.scrollTop = el.scrollHeight + 5000
198198
requestAnimationFrame(() => {
199-
el.scrollTop = el.scrollHeight
199+
el.scrollTop = el.scrollHeight + 5000
200200
if (this.$_undefinedSizes === 0) {
201201
this.$_scrollingToBottom = false
202202
} else {

0 commit comments

Comments
 (0)