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,
|
||||
ref: handleRef,
|
||||
style: {
|
||||
height: finalHeight + 'px',
|
||||
transition: 'height 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
|
||||
minHeight: finalHeight + 'px',
|
||||
transition: 'all 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
|
||||
},
|
||||
children: [/*#__PURE__*/_jsx(StyledTreeItemContent, _extends({
|
||||
as: ContentComponent,
|
||||
|
Loading…
x
Reference in New Issue
Block a user