From aa0f2bad4fb78524f9c1f4e48239d91887e80fcb Mon Sep 17 00:00:00 2001 From: leutinatasya Date: Tue, 10 Dec 2024 18:42:24 +0300 Subject: [PATCH] fix: use isAnimation --- src/components/Sheet/SheetContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Sheet/SheetContent.tsx b/src/components/Sheet/SheetContent.tsx index 62dc4ae095..244b8aadf6 100644 --- a/src/components/Sheet/SheetContent.tsx +++ b/src/components/Sheet/SheetContent.tsx @@ -437,7 +437,7 @@ class SheetContent extends React.Component { this.textLog += `${this.state.veilTouched} this.state.veilTouched\n`; this.textLog += `${this.isMounted} this.state.inWindowResizeScope\n`; - if (this.state.veilTouched) { + if (this.state.isAnimating) { return; } this.setState({inWindowResizeScope: true});