You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportconst description ='Renders a scrollable collection of data using customizable layouts.';
@@ -42,11 +41,6 @@ for (let i = 0; i < 5000; i++) {
42
41
43
42
Virtualizer uses <TypeLinklinks={docs.links}type={docs.exports.Layout} /> objects to determine the position and size of each item, and provide the list of currently visible items. When using a Virtualizer, all items are positioned by the `Layout`, and CSS layout properties such as flexbox and grid do not apply.
44
43
45
-
<InlineAlertvariant="notice"maxWidth={600}>
46
-
<Heading>Virtualized components must have a defined size</Heading>
47
-
<Content>This may be an explicit CSS `width` and `height`, or an implicit size (e.g. percentage or `flex`) bounded by an ancestor element. Without a bounded size, all items will be rendered to the DOM, negating the performance benefits of virtualized scrolling.</Content>
48
-
</InlineAlert>
49
-
50
44
### List
51
45
52
46
`ListLayout` places items along its orientation. Rows can be fixed or variable in size. When using a variable size, set the `estimatedRowSize` to a reasonable guess for how tall or wide the rows will be on average. This allows the size of the scrollbar to be calculated.
@@ -322,7 +316,7 @@ for (let i = 0; imageOptions.length < 500; i++) {
0 commit comments