Merge branch 'virtual-scrolling-2.0' into shigusegubu-themes3
This commit is contained in:
commit
56d7a3feab
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export default {
|
|||
}
|
||||
setFocused(id)
|
||||
const target = document.querySelector(`.Status[data-status-id=${id}]`)
|
||||
return await scroller.scrollIntoView(target, { block: 'center' })
|
||||
return await scroller.scrollIntoView(target, { block: 'start' })
|
||||
}
|
||||
|
||||
const { statusId } = toRefs(props)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue