Merge branch 'virtual-scrolling-2.0' into shigusegubu-themes3
This commit is contained in:
commit
df4c44b0c5
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ export function useScrollPosition() {
|
||||||
|
|
||||||
const scrollIntoView = async (element, options) => {
|
const scrollIntoView = async (element, options) => {
|
||||||
inProgress.value = true
|
inProgress.value = true
|
||||||
await element.scrollIntoView(options)
|
await element.scrollIntoViewIfNeeded(options)
|
||||||
inProgress.value = false
|
inProgress.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue