Skip to content

Commit a338cac

Browse files
committed
prevent hight smaller than right element button
1 parent dad204f commit a338cac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/TextField/TextArea.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const TextArea = ({
9191
leftIconElementRect.width ?? 0
9292
}px)`
9393
);
94-
leftIconElement.addEventListener("click", (_event: MouseEvent) => {
94+
leftIconElement.addEventListener("click", () => {
9595
textAreaElement.focus();
9696
});
9797
}
@@ -157,7 +157,7 @@ export const TextArea = ({
157157
rows={
158158
rows && !otherBlueprintTextAreaProps.autoResize && !otherBlueprintTextAreaProps.growVertically
159159
? rows
160-
: 1
160+
: 2
161161
}
162162
{...otherBlueprintTextAreaProps}
163163
dir={"auto"}

0 commit comments

Comments
 (0)