Skip to content

Commit 4f5d515

Browse files
committed
fix: guard the deferred refresh after teardown
1 parent 47e6a72 commit 4f5d515

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/pages/search.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,9 @@ watch(
529529
],
530530
() => {
531531
nextTick(() => {
532+
if (!resultsContainerRef.value) {
533+
return
534+
}
532535
scheduleFocusableElementsRefresh()
533536
})
534537
},

0 commit comments

Comments
 (0)