Andarist / Andarist/react-textarea-autosize

Inserting newline sometimes causes strange renders

Đang mở
#340 1 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ả

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)

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.