From e1798b0c3f034c28567113dc8fbd78f4b6b84feb Mon Sep 17 00:00:00 2001 From: Jack Reed Date: Mon, 28 Apr 2025 19:39:22 -0600 Subject: [PATCH 1/2] Update documentation to add overscan default value --- docs/api/virtualizer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/virtualizer.md b/docs/api/virtualizer.md index 2a92c7e52..7f07428d2 100644 --- a/docs/api/virtualizer.md +++ b/docs/api/virtualizer.md @@ -80,7 +80,7 @@ The sync parameter indicates whether scrolling is currently in progress. It is ` overscan?: number ``` -The number of items to render above and below the visible area. Increasing this number will increase the amount of time it takes to render the virtualizer, but might decrease the likelihood of seeing slow-rendering blank items at the top and bottom of the virtualizer when scrolling. +The number of items to render above and below the visible area. Increasing this number will increase the amount of time it takes to render the virtualizer, but might decrease the likelihood of seeing slow-rendering blank items at the top and bottom of the virtualizer when scrolling. The default value is `0`. ### `horizontal` From c5b49abea7dfdc24d2ffa389b7845acee69850d2 Mon Sep 17 00:00:00 2001 From: Jack Reed Date: Wed, 30 Apr 2025 09:10:14 -0600 Subject: [PATCH 2/2] Update docs/api/virtualizer.md Co-authored-by: Damian Pieczynski --- docs/api/virtualizer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/virtualizer.md b/docs/api/virtualizer.md index 7f07428d2..79d2df1b4 100644 --- a/docs/api/virtualizer.md +++ b/docs/api/virtualizer.md @@ -80,7 +80,7 @@ The sync parameter indicates whether scrolling is currently in progress. It is ` overscan?: number ``` -The number of items to render above and below the visible area. Increasing this number will increase the amount of time it takes to render the virtualizer, but might decrease the likelihood of seeing slow-rendering blank items at the top and bottom of the virtualizer when scrolling. The default value is `0`. +The number of items to render above and below the visible area. Increasing this number will increase the amount of time it takes to render the virtualizer, but might decrease the likelihood of seeing slow-rendering blank items at the top and bottom of the virtualizer when scrolling. The default value is `1`. ### `horizontal`