Andarist / react-textarea-autosize

<textarea /> component for React which grows with content

Home Page:http://andarist.github.io/react-textarea-autosize/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI not matching with previous package version

rajeshpatil74 opened this issue · comments

I had a UI with version 3.3.1 where the textarea is spanned across two rows of table.

image

Now upgrading to 8.3.3 , same code display only single line of text. When press Enter key, it occupies the expected height,
as shown in first image.
image

Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.

@Andarist - Below the repositories for old and new packages -

https://codesandbox.io/s/text-area-resize-3-3-1-dcjji -- With older package

https://codesandbox.io/s/text-area-resize-8-3-3-dfxke -- with latest package.

I guess, it is with something with Issue fixed - #276

With 8.1.0 also seems me working on sandbox and 8.1.1 corrected the fix of patch of 8.1.0 which was not is not working.
With 8.1.1 it stopped working.

Can you provide a correct fix for same.