Web: Client: There is no height limit for dd
This commit is contained in:
parent
9bcd6fa02a
commit
5276fa20aa
@ -139,7 +139,7 @@ const DropBox = React.forwardRef(
|
||||
|
||||
setDropBoxHeight(
|
||||
currentHeight + navHeight > sectionHeight
|
||||
? sectionHeight - navHeight
|
||||
? sectionHeight - navHeight - 20
|
||||
: currentHeight
|
||||
);
|
||||
}, [sectionHeight]);
|
||||
@ -149,7 +149,7 @@ const DropBox = React.forwardRef(
|
||||
<StyledBox
|
||||
ref={ref}
|
||||
maxHeight={maxHeight}
|
||||
height={sectionHeight < dropBoxHeight ? sectionHeight - 20 : null}
|
||||
height={sectionHeight < dropBoxHeight ? sectionHeight : null}
|
||||
showText={showText}
|
||||
dropBoxWidth={dropBoxWidth}
|
||||
isDesktop={isDesktop}
|
||||
@ -180,7 +180,7 @@ const DropBox = React.forwardRef(
|
||||
</StyledContainer>
|
||||
|
||||
<VariableSizeList
|
||||
height={dropBoxHeight - 20}
|
||||
height={dropBoxHeight}
|
||||
width={"auto"}
|
||||
itemCount={countItems}
|
||||
itemSize={getItemSize}
|
||||
|
Loading…
Reference in New Issue
Block a user