diff --git a/components/tree/style/index.ts b/components/tree/style/index.ts index d75a38cad4..f97bb3e350 100644 --- a/components/tree/style/index.ts +++ b/components/tree/style/index.ts @@ -170,6 +170,8 @@ export const genBaseStyle = (prefixCls: string, token: TreeToken): CSSObject => '&-draggable': { [`${treeCls}-draggable-icon`]: { + // https://github.com/ant-design/ant-design/issues/41915 + flexShrink: 0, width: treeTitleHeight, lineHeight: `${treeTitleHeight}px`, textAlign: 'center',