Skip to content

Commit

Permalink
fix: Table content disappears when switching between tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneTorap committed Aug 30, 2022
1 parent 0c43190 commit e29290d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset-frontend/src/components/FilterableTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ const FilterableTable = ({
};

const renderGrid = () => {
totalTableHeight.current = height;
if (
container.current &&
totalTableWidth.current > container.current.clientWidth
Expand Down Expand Up @@ -643,6 +644,7 @@ const FilterableTable = ({
);
}

totalTableHeight.current = height;
if (
container.current &&
totalTableWidth.current > container.current.clientWidth
Expand Down

0 comments on commit e29290d

Please sign in to comment.