Skip to content

Commit

Permalink
fix: use isAnimation
Browse files Browse the repository at this point in the history
  • Loading branch information
mournfulCoroner committed Dec 10, 2024
1 parent 1921817 commit aa0f2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sheet/SheetContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class SheetContent extends React.Component<SheetContentInnerProps, SheetContentS
private onResizeWindow = () => {
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});
Expand Down

0 comments on commit aa0f2ba

Please sign in to comment.