diff --git a/x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/index.tsx index 5b442a59f75c2..7338bcded1a41 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/index.tsx @@ -425,6 +425,25 @@ const DetectionEngineAlertsTableComponent: FC + isEventRenderedView + ? `${DEFAULT_DATA_GRID_HEIGHT}px` + : /* + * We keep fixed height in Event rendered because of the row height issue + * as mentioned here + */ + count > 20 + ? `${DEFAULT_DATA_GRID_HEIGHT}px` + : undefined, + [count, isEventRenderedView] + ); + if (isLoading) { return null; } @@ -451,10 +470,7 @@ const DetectionEngineAlertsTableComponent: FC= 20 ? `${DEFAULT_DATA_GRID_HEIGHT}px` : undefined} + height={alertTableHeight} initialPageSize={50} runtimeMappings={sourcererDataView?.runtimeFieldMap as RunTimeMappings} toolbarVisibility={toolbarVisibility}