diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx index 6e9bd90b9266f..b5858c7371849 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx @@ -56,12 +56,12 @@ export const GridColumn = ({ }) ); - // Reset the row measurement cache when the list changes + // Reset the row measurement cache, update position, and recompute row height when the list changes useEffect(() => { rowMeasurementCache?.current?.clearAll(); - windowScrollerRef.current?.updatePosition(); - }, [list.length, columnCount, isLoading]); + listRef.current?.recomputeRowHeights(0); + }, [list, columnCount, isLoading]); // Use to work on small screen when categories are loaded useEffect(() => { diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/browse_integrations/components/side_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/browse_integrations/components/side_bar.tsx index 4eea407e47051..e3b58167ae03c 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/browse_integrations/components/side_bar.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/browse_integrations/components/side_bar.tsx @@ -115,7 +115,6 @@ export const Sidebar: React.FC = ({ {CreateIntegrationCardButton && !isLoadingCreatedIntegrations && ( <> - {hasCreatedIntegrations ? ( - + {!isManageIntegrationsView && (