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
Compare to Firefox, where the datagrid renders as expected:
Expected behavior
The datagrid should be able to render with an auto/self-set height without needing a height specified or its parent container to have a specified height.
Minimum reproducible sandbox
Use our Storybook instead for easier repro
Additional context
There are several issues around EuiDataGrid and how it tries to "adapt" its height from its parent container. See also:
cee-chen
changed the title
[EuiDataGrid] Grids wrapped in a container with no set height with defaultHeight set to auto will render with 0 height in webkit browsers
[EuiDataGrid] Grids wrapped in a container with no set height & defaultHeight: auto will render with 0 height in webkit browsers
Sep 6, 2024
cee-chen
changed the title
[EuiDataGrid] Grids wrapped in a container with no set height & defaultHeight: auto will render with 0 height in webkit browsers
[EuiDataGrid] Grids wrapped in a container with no set height & defaultHeight: 'auto' will render with 0 height in webkit browsers
Sep 6, 2024
To Reproduce
data_grid_row_heights.stories.tsx
, and delete the following line:eui/packages/eui/src/components/datagrid/data_grid_row_heights.stories.tsx
Line 48 in f6c9b55
yarn storybook
Expected behavior
The datagrid should be able to render with an auto/self-set height without needing a height specified or its parent container to have a specified height.
Minimum reproducible sandbox
Use our Storybook instead for easier repro
Additional context
There are several issues around EuiDataGrid and how it tries to "adapt" its height from its parent container. See also:
height
not provided #7769The text was updated successfully, but these errors were encountered: