Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Issue when textarea reaches the end of the window height size #82

Open
@SunnyAureliusRichard

Description

@SunnyAureliusRichard

Greetings!

There's an issue with the view height flipping between where the cursor is, and the top of the page.

Demo available @ https://codesandbox.io/s/tailwind-css-and-react-forked-qhfgif?file=/src/components/Homepage.js

To reproduce, do the same as in the gif:
react-expanding-textarea

PS: in the README.md file for the label it should be htmlFor="my-textarea" --- not for="my-textarea"

To fix, this line has to be commented out el.style.height = '0'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions