Open logeekal opened 1 month ago
@logeekal We're trying to determine priority on this - is this something you could see fixing as part of your draft PR? Or is this blocking your current work? If not I'm not sure when our team will have time to work on this, as we have several other datagrid efforts we're currently prioritizing instead.
Thanks @cee-chen for pointing it out. It makes sense and I will try to get it with my currently open PR.
Hey @logeekal, just curious, when are your changes targeted for in Kibana?
Hey @JasonStoltz , apologies for late revert. I am planning mainly changes required for #8002 for 8.16
. I am trying to see what is important to improve experience on that front and fix that first and if I see that this can be included. I will do that.
Describe the bug When grid has a static height and
customBodyRender
, the table width is more than the container which results in a horizontal scrollbar. This phenomenon is also visible in the docs page. Below i have attached a codesandbox link also.https://github.com/user-attachments/assets/f72b2e20-fe8e-4b07-aeef-357b1b805ad5
Impact and severity
This results in degraded user experience because security solution needs to have both static height and custom body render.
One related issue is : #8002
Environment and versions
To Reproduce Steps to reproduce the behavior:
Expected behavior When columns have auto width, table should be contained in the scrollbar.
Minimum reproducible sandbox https://codesandbox.io/p/sandbox/custom-body-render-width-issue-svtl3t?file=%2Fdemo.tsx