Andarist / Andarist/react-textarea-autosize
Support for elements besides textarea
Open
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 247
- PR merge metrics
- No merged PRs in 30d
Description
This might be a little out there, but I'm trying to build a component that behaves exactly like an autosizing textarea, but *is not* a ``. I need to create a `<div>` with `contenteditable` set so I can use child elements in my editable area.
It'd be awesome if `TextareaAutosize` could support an optional `tag` property that allows the tag to be set, and defaults to `textarea`.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.