Skip to content

Commit

Permalink
fix: textarea overflow one char before growing
Browse files Browse the repository at this point in the history
not sure why the default 2px padding wouldn't calculate when to grow
properly, but with no padding it seems to grow without issue.
  • Loading branch information
keyserj committed May 18, 2023
1 parent 8901f05 commit 2cb59df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ interface StyledTextareaProps {
}

export const StyledTextareaAutosize = styled(TextareaAutosize)<StyledTextareaProps>`
padding: 0;
border: 0;
resize: none;
outline: none;
Expand Down

0 comments on commit 2cb59df

Please sign in to comment.