Skip to content

Commit

Permalink
Reduce debounce value
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Oct 23, 2023
1 parent 48ac227 commit 329af8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/desktop-client/src/components/ScrollProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function ScrollProvider({ children }: ScrollProviderProps) {
setIsBottomReached(
e.target?.scrollHeight - e.target?.scrollTop <= e.target?.clientHeight,
);
}, 20);
}, 10);

window.addEventListener('scroll', listenToScroll, {
capture: true,
Expand Down

0 comments on commit 329af8c

Please sign in to comment.