diff --git a/superset-frontend/src/dashboard/components/StickyVerticalBar.tsx b/superset-frontend/src/dashboard/components/StickyVerticalBar.tsx index 713e5e7ed7..ce334469ef 100644 --- a/superset-frontend/src/dashboard/components/StickyVerticalBar.tsx +++ b/superset-frontend/src/dashboard/components/StickyVerticalBar.tsx @@ -73,8 +73,28 @@ export const StickyVerticalBar: React.FC = ({ - {({ style, isSticky }: { style: any; isSticky: boolean }) => ( - + {({ + style, + isSticky, + distanceFromTop, + }: { + style: any; + isSticky: boolean; + distanceFromTop: number; + }) => ( + {children} )} diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar.tsx index d78aab5b4f..6dae669177 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar.tsx @@ -61,8 +61,7 @@ const Bar = styled.div` width: ${barWidth}; // arbitrary... background: ${({ theme }) => theme.colors.grayscale.light5}; border-right: 1px solid ${({ theme }) => theme.colors.grayscale.light2}; - height: 100%; - max-height: 100%; + min-height: 100%; display: none; /* &.animated { display: flex;