virtua icon indicating copy to clipboard operation
virtua copied to clipboard

Consider creating VTable component for better table support

Open inokawa opened this issue 2 years ago • 4 comments

#219

inokawa avatar Jan 03 '24 08:01 inokawa

Hi @inokawa Should this ticket solve the problem that body cell width doesn't match header cell width (when we don't set fixed cell width like in original storybook example) ? image

Looks like it doesn't work properly because of position: absolute. I checked this example with mui table + react-virtuoso https://mui.com/material-ui/react-table/#virtualized-table . They don't set height to tbody directly, but add additional rows to the beginning and to the end to control scroll height and visible rows position, and avoid position: absolute.

mariia-mitiureva avatar Jan 08 '24 14:01 mariia-mitiureva

Hi, the purpose of this issue is to find a stable way to virtualize table element with virtua, because table virtualization is very tricky... I'll take a look mui table example. Thank you!

inokawa avatar Jan 08 '24 15:01 inokawa