Andarist / Andarist/react-textarea-autosize
Support for elements besides textarea
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.4k
- Forks
- 247
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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!
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.