Request to add autosizing to Textarea
See original GitHub issueIs your feature request related to a problem? Please describe. This is a pretty standard feature for textareas nowadays
Describe the solution you’d like
Simply add maxRows
and minRows
as props, and auto-grow/shrink with content
Describe alternatives you’ve considered
Currently going to have to implement react-textarea-autosize
and figure out how to do the styling independent of Chakra 😢
Issue Analytics
- State:
- Created 3 years ago
- Reactions:18
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Creating a textarea with auto-resize - javascript - Stack Overflow
OPTION 1 (With jQuery). This option requires jQuery and has been tested and is working with 1.7.2 - 3.6. Simple (Add this jquery...
Read more >How to create auto-resize textarea using JavaScript/jQuery
Create a textarea and the task is to automatically resize it when we type or paste the content in it. It can be...
Read more >how to auto resize a textarea field? - Jotform
1. First, you can use the default "Textarea" field under the "Form Tools" section. · 2. You can also try re-adding the Textarea...
Read more >Creating a Custom Auto Resize TextArea Component For ...
Creating a Custom Auto Resize TextArea Component For Your React Web Application · 1. Creating the base component · 2. Creating the onChange ......
Read more >Make a Textarea Auto Resize to fit Contents - Impressive Webs
Some JavaScript and CSS to add to your page to add textarea auto resize capabilities. This ensues textarea elements will grow with content ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s a solution I used recently on a project.
Hope you find this useful.
for any one who wants a typescript version: