From 06061833b486a359c7145280b7b3367f41b1d7a5 Mon Sep 17 00:00:00 2001 From: leutinatasya Date: Tue, 10 Dec 2024 18:09:52 +0300 Subject: [PATCH] fix: remove comments --- src/components/Sheet/SheetContent.tsx | 37 +-------------------------- 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/src/components/Sheet/SheetContent.tsx b/src/components/Sheet/SheetContent.tsx index 29d30700cb..c7b4f626a2 100644 --- a/src/components/Sheet/SheetContent.tsx +++ b/src/components/Sheet/SheetContent.tsx @@ -78,12 +78,6 @@ class SheetContent extends React.Component { - // this.textLog += 'hide there\n'; this.setState({isAnimating: true}, () => { this.setStyles({status: 'hiding'}); this.removeHash(); @@ -405,15 +392,8 @@ class SheetContent extends React.Component { - // this.textLog += `${this.isResizing} is resizing\n`; - // if (this.isResizing) { - // this.needHide = true; - // return; - // } this.setState({veilTouched: true}); this.hide(); - - // this.textLog += 'veil touched hide\n'; }; private onVeilTransitionEnd = () => { @@ -433,8 +413,6 @@ 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) { return; } @@ -444,8 +422,6 @@ class SheetContent extends React.Component { - // this.isResizing = false; - // if (this.needHide) { - // this.textLog += 'needHide\n'; - // this.onVeilClick(); - // } - }); + this.setState({prevSheetHeight: sheetContentHeight, inWindowResizeScope: false}); }; private addListeners() {