Skip to content

Commit

Permalink
hack
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliodiez committed Nov 18, 2024
1 parent 6642cd5 commit 629f444
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pods/thumb-pages/components/thumb-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ export const ThumbPage: React.FunctionComponent<Props> = props => {

React.useEffect(() => {
if (!isVisible) return;
handleResizeAndForceRedraw();
setTimeout(() => {
handleResizeAndForceRedraw();
}, 100);
}, [isVisible]);

React.useEffect(() => {
setTimeout(() => {
handleResizeAndForceRedraw();
}, 100);
}, 200);
}, [shapes, activePageIndex]);

React.useEffect(() => {
Expand Down

0 comments on commit 629f444

Please sign in to comment.