Skip to content

Commit

Permalink
fix: VirtualizedVideoList remove overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossella-Mascia-Neosyn committed May 7, 2024
1 parent f3a7520 commit bb764d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/VirtualizedVideoList/VirtualizedVideoList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const VirtualizedVideoList = <TItem,>({
maxToRenderPerBatch = 5,
windowSize = 5,
restStateOnblur,
showsHorizontalScrollIndicator = false,
showsVerticalScrollIndicator = false,
...props
}: VirtualizedVideoListProps<TItem>): JSX.Element => {
const [posts, setPosts] = useState<PostType[]>([]);
Expand Down Expand Up @@ -173,6 +175,8 @@ const VirtualizedVideoList = <TItem,>({
removeClippedSubviews
onRefresh={onRefresh}
ListFooterComponent={SpinnerComponent(refreshing)}
showsHorizontalScrollIndicator={showsHorizontalScrollIndicator}
showsVerticalScrollIndicator={showsVerticalScrollIndicator}
{...props}
/>
) : null}
Expand Down

0 comments on commit bb764d5

Please sign in to comment.