Skip to content

Commit ebc36f9

Browse files
authored
fix: resize is invalid in textarea (#76)
1 parent 42890fc commit ebc36f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ const TextArea = React.forwardRef<TextAreaRef, TextAreaProps>(
251251
onCompositionStart={onInternalCompositionStart}
252252
onCompositionEnd={onInternalCompositionEnd}
253253
className={clsx(classNames?.textarea)}
254-
style={{ ...styles?.textarea, resize: style?.resize }}
254+
style={{ resize: style?.resize, ...styles?.textarea }}
255255
disabled={disabled}
256256
prefixCls={prefixCls}
257257
onResize={handleResize}

0 commit comments

Comments
 (0)