Skip to content

Commit 96d8ba5

Browse files
committed
fix: dashboard does not refresh when sidebar is collapsed
1 parent e8a9fe4 commit 96d8ba5

File tree

1 file changed

+3
-0
lines changed
  • frontend/src/app/pages/MainPage/pages/VizPage

1 file changed

+3
-0
lines changed

frontend/src/app/pages/MainPage/pages/VizPage/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ export function VizPage() {
4343
const handleSliderVisible = useCallback(
4444
(status: boolean) => {
4545
setSliderVisible(status);
46+
setTimeout(() => {
47+
dispatchResize();
48+
}, 300);
4649
},
4750
[setSliderVisible],
4851
);

0 commit comments

Comments
 (0)