mirror of https://github.com/vector-im/riot-web
dedup
parent
35cc1fb06d
commit
97d8cec94e
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue