diff options
author | dan <dan.abramov@gmail.com> | 2024-11-05 22:27:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 22:27:48 +0000 |
commit | 6b826fb88dd33fe594fd7bb631a90d1a1713d0df (patch) | |
tree | fb101391dc0a574c987d2726502f35a38c3823fa /src/view/com/util/List.web.tsx | |
parent | 84fb1b7f97af7cdcaac1049d2c843c421d50539a (diff) | |
download | voidsky-6b826fb88dd33fe594fd7bb631a90d1a1713d0df.tar.zst |
Lower feedfeedback seen threshold to 0.5s (#6127)
Diffstat (limited to 'src/view/com/util/List.web.tsx')
-rw-r--r-- | src/view/com/util/List.web.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/List.web.tsx b/src/view/com/util/List.web.tsx index d35ac1476..59a79b531 100644 --- a/src/view/com/util/List.web.tsx +++ b/src/view/com/util/List.web.tsx @@ -28,7 +28,7 @@ export type ListProps<ItemT> = Omit< } export type ListRef = React.MutableRefObject<any | null> // TODO: Better types. -const ON_ITEM_SEEN_WAIT_DURATION = 1.5e3 // when we consider post to be "seen" +const ON_ITEM_SEEN_WAIT_DURATION = 0.5e3 // when we consider post to be "seen" const ON_ITEM_SEEN_INTERSECTION_OPTS = { rootMargin: '-200px 0px -200px 0px', } // post must be 200px visible to be "seen" |