rsuite / rsuite-table

A React table component.
https://table.rsuitejs.com/
MIT License
720 stars 133 forks source link

support options to control using transform or left/top #481

Open myNameIsDu opened 8 months ago

myNameIsDu commented 8 months ago

What problem does this feature solve?

The Table component uses the transform(translate/translate3d) property to render the table. And there are no available options to alter or control this behaviour.

For instance, in this case

https://codesandbox.io/p/sandbox/bold-babbage-8kpvl4?file=%2Fsrc%2Findex.js%3A11%2C15

when using html2canvas to capture a screenshot of the table, it doesn't support all the features of transform. As a result, the rows weren't captured except the first row.

image

What does the proposed API look like?

support extra options to alter or control this behaviour