We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bb49e2 commit 4e13af3Copy full SHA for 4e13af3
src/webview/SearchSidebar/SearchResultList/useListState.tsx
@@ -63,7 +63,7 @@ export function useStickyShadow(filePath: string) {
63
return () => {
64
observer.disconnect()
65
}
66
- }, [isScrolled])
+ }, [isScrolled, setScrolled, filePath])
67
return {
68
isScrolled,
69
ref,
0 commit comments