Andarist / Andarist/react-textarea-autosize

Inserting newline sometimes causes strange renders

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

説明

Thanks for this great library! I came across the behavior below today. It seems as if inserting text renders differently than typing the text from start to finish (or copy-pasting it).

For example, below, the text is
```
insert one newlin
e
```

but looks differently if typed from start-to-fnish or if the newline is inserted.

This seems to happen when inserting a non-newline character would cause wrapping to occur.

![Apr-18-2022 13-32-34](https://user-images.githubusercontent.com/9010790/163848506-3eb79169-53db-491b-b3bd-38c5aace3657.gif)

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

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

評価

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

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

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