Fix Strategy of changin height to min height
This commit is contained in:
parent
2c58446690
commit
82c8e7d01a
@ -295,8 +295,8 @@ export const TreeItem = /*#__PURE__*/React.forwardRef(function TreeItem(inProps,
|
|||||||
onFocus: handleFocus,
|
onFocus: handleFocus,
|
||||||
ref: handleRef,
|
ref: handleRef,
|
||||||
style: {
|
style: {
|
||||||
height: finalHeight + 'px',
|
minHeight: finalHeight + 'px',
|
||||||
transition: 'height 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
|
transition: 'all 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
|
||||||
},
|
},
|
||||||
children: [/*#__PURE__*/_jsx(StyledTreeItemContent, _extends({
|
children: [/*#__PURE__*/_jsx(StyledTreeItemContent, _extends({
|
||||||
as: ContentComponent,
|
as: ContentComponent,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user