You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using an EuiDataGrid within a <EuiFlexGroup direction='column'> with a sibling component will cause a feedback loop of some kind whereby the DataGrid will grow infinitely.
datagrid-height.mp4
Impact and severity
A component tree as simple as this completely breaks the entire page (pseudocode):
Additional context
If the bug is "too deep" to fix, as suggested in the thread, it maybe be useful to require a height prop,or at least call this out in the docs. Thanks for your time!
The text was updated successfully, but these errors were encountered:
Describe the bug
Using an
EuiDataGrid
within a<EuiFlexGroup direction='column'>
with a sibling component will cause a feedback loop of some kind whereby the DataGrid will grow infinitely.datagrid-height.mp4
Impact and severity
A component tree as simple as this completely breaks the entire page (pseudocode):
The fix is to simply specify a height on the Data Grid:
You could also simply wrap the Data Grid in a non-flex container:
Environment and versions
Minimum reproducible sandbox
height="auto"
fix (from @cee-chen): https://codesandbox.io/p/sandbox/blissful-orla-4z88s6?file=%2Fdemo.tsx%3A407%2C17-407%2C88Additional context
If the bug is "too deep" to fix, as suggested in the thread, it maybe be useful to require a height prop,or at least call this out in the docs. Thanks for your time!
The text was updated successfully, but these errors were encountered: