Fix Strategy of changin height to min height

This commit is contained in:
behnam 2024-06-24 12:38:51 +03:00
parent 2c58446690
commit 82c8e7d01a

View File

@ -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,