Andarist / Andarist/react-textarea-autosize

rowCount doesn't exist on type "TextareaHeightChangeMeta"

オープン
#286 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
2.4k
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

説明

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!)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。