1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00
This commit is contained in:
Michael Telatynski
2020-08-21 16:40:05 +01:00
parent 35cc1fb06d
commit 97d8cec94e

View File

@@ -240,11 +240,11 @@ const PersistentVResizer = ({id, minHeight, maxHeight, className, handleWrapperC
minHeight={minHeight}
maxHeight={maxHeight}
onResizeStart={() => {
setResizing(true);
if (!resizing) setResizing(true);
}}
onResizeStop={(e, dir, ref, d) => {
setHeight(height + d.height);
setResizing(false);
if (resizing) setResizing(false);
}}
handleWrapperClass={handleWrapperClass}
handleClasses={{bottom: handleClass}}