Skip to content

Commit

Permalink
fix: Table content disappears when switching between tabs (#21251)
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneTorap authored Aug 31, 2022
1 parent 6223042 commit 0c87ff7
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 0c87ff7

Please sign in to comment.