pull/21833/head
Michael Telatynski 2020-08-21 16:40:05 +01:00
parent 35cc1fb06d
commit 97d8cec94e
1 changed files with 2 additions and 2 deletions

View File

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