Skip to content

Commit c22138f

Browse files
authored
docs: update table docs (#3234)
1 parent 1977a66 commit c22138f

File tree

1 file changed

+6
-0
lines changed
  • packages/docs/src/pages/components/Table

1 file changed

+6
-0
lines changed

packages/docs/src/pages/components/Table/Table.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ Table with both vertical and horizontal scroll
6565

6666
This is an example of a table with 5000 rows
6767

68+
<Tip>
69+
The row element returned by `rowRenderer` must accept a `style` prop. This is required for `react-window` to position
70+
rows correctly. If rows appear stacked or scrolling breaks, ensure your row component doesn't ignore or override the
71+
`style` prop.
72+
</Tip>
73+
6874
<Canvas of={TableStories.VirtualizedScroll} />
6975

7076
## Sticky column

0 commit comments

Comments
 (0)