Andarist / Andarist/react-textarea-autosize

rowCount doesn't exist on type "TextareaHeightChangeMeta"

Đang mở
#286 6 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ả

Hello! Thank you for this great component!

I am interested in determining in which line the cursor is currently placed, and I thought I might find a solution involving rowCount. When I tried to log it, as demonstrated in [the demo](https://andarist.github.io/react-textarea-autosize/), I received this error:
`Property 'rowCount' does not exist on type 'TextareaHeightChangeMeta'.`

I though you might want to know that there seems to be a mismatch between the API and the docs.

(also, if you happen to know of any way that I can determine if the cursor is placed on the first line or the last line of the textarea, I would be very grateful to know!)

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.