diff options
Diffstat (limited to 'src/view/com/util')
-rw-r--r-- | src/view/com/util/List.tsx | 2 | ||||
-rw-r--r-- | src/view/com/util/List.web.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx index 0064a7b80..90f5905f1 100644 --- a/src/view/com/util/List.tsx +++ b/src/view/com/util/List.tsx @@ -90,7 +90,7 @@ function ListImpl<ItemT>( }, { itemVisiblePercentThreshold: 40, - minimumViewTime: 2e3, + minimumViewTime: 1.5e3, }, ] }, [onItemSeen]) diff --git a/src/view/com/util/List.web.tsx b/src/view/com/util/List.web.tsx index a64f7acf3..df097bafa 100644 --- a/src/view/com/util/List.web.tsx +++ b/src/view/com/util/List.web.tsx @@ -27,7 +27,7 @@ export type ListProps<ItemT> = Omit< } export type ListRef = React.MutableRefObject<any | null> // TODO: Better types. -const ON_ITEM_SEEN_WAIT_DURATION = 2e3 // post must be "seen" 2 seconds before capturing +const ON_ITEM_SEEN_WAIT_DURATION = 1.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" |