Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export const Sidebar: React.FC<SidebarProps> = ({
<StickySidebar>
{CreateIntegrationCardButton && !isLoadingCreatedIntegrations && (
<>
<EuiSpacer size="s" />
{hasCreatedIntegrations ? (
<EuiLink
color="text"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import React, { useCallback, useMemo } from 'react';
import { EuiFlexItem, EuiFlexGroup, EuiSpacer, useEuiTheme } from '@elastic/eui';
import { useLocation, useHistory } from 'react-router-dom';

import { css } from '@emotion/react';

import { useBreadcrumbs, useStartServices } from '../../../../hooks';
import { NoEprCallout } from '../../components/no_epr_callout';
import { categoryExists } from '../home';
Expand Down Expand Up @@ -125,13 +123,7 @@ export const BrowseIntegrationsPage: React.FC<{ prereleaseIntegrationsEnabled: b
onManageIntegrationsClick={onManageIntegrationsClick}
/>
<EuiFlexItem grow={5}>
<EuiFlexGroup
direction="column"
gutterSize="none"
css={css`
padding: 16px 8px;
`}
>
<EuiFlexGroup direction="column" gutterSize="none">
{!isManageIntegrationsView && (
<SearchAndFiltersBar
categories={mainCategories}
Expand Down
Loading