Skip to content

Commit 0e926f1

Browse files
committed
fix: remove redundant RAF cancellation after stopObservingFocusableElements()
1 parent 4f5d515 commit 0e926f1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/pages/search.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -740,10 +740,6 @@ watch(
740740
741741
onBeforeUnmount(() => {
742742
stopObservingFocusableElements()
743-
if (refreshFocusableElementsFrame != null) {
744-
window.cancelAnimationFrame(refreshFocusableElementsFrame)
745-
refreshFocusableElementsFrame = null
746-
}
747743
updateLiveRegionMobile.cancel()
748744
updateLiveRegionDesktop.cancel()
749745
})

0 commit comments

Comments
 (0)