Skip to content

Commit

Permalink
Remove scrollSeekConfiguration to remove flicker on infinite list
Browse files Browse the repository at this point in the history
  • Loading branch information
wrandall22 committed Aug 13, 2024
1 parent ee836fa commit 9c529af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/InfiniteList/InfiniteList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,6 @@ export const InfiniteList = <T, C>({
ScrollSeekPlaceholder: SkeletonItem,
...props.components,
},
scrollSeekConfiguration: {
enter: (velocity) => Math.abs(velocity) > 200,
exit: (velocity) => Math.abs(velocity) < 10,
...props.scrollSeekConfiguration,
},
overscan: 2000,
};

Expand Down

0 comments on commit 9c529af

Please sign in to comment.