fix: recycle scroller glitches (#174)
This commit is contained in:
parent
6acc838850
commit
d97beabf4a
4 changed files with 10 additions and 2 deletions
|
@ -19,6 +19,7 @@ export default defineComponent({
|
|||
|
||||
onMounted(() => {
|
||||
const img = document.createElement('img')
|
||||
isLoaded.value = img.complete
|
||||
img.onload = () => {
|
||||
isLoaded.value = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue