Remove react-data-table from dataset preview#3478
Conversation
|
📦 Statoscope quick diff with main-branch: ⏱ Build time: -2.3 sec (-3.97%) ⚖️ Initial size: -0.18 kb (0%) 🕵️ Validation errors: 0 Full Statoscope report could be found here |
|
|
|
| // Calculate scale factor to handle CSS transforms. | ||
| // For very wide tables, Firefox may return incorrect getBoundingClientRect values, | ||
| // so we validate that tableScale is within reasonable bounds (0.5 to 2.0) | ||
| let tableScale = round(table?.getBoundingClientRect()?.width / table?.clientWidth, 2); |
There was a problem hiding this comment.
What is the problem with incorrect calculations in firefox? Perhaps we should consider scale in a different way?
Now, as far as I understand, an incorrect value will be set
No description provided.