Andarist / Andarist/react-textarea-autosize

Support for elements besides textarea

Đang mở
#321 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
2.4k
Fork
247
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.