Andarist / Andarist/react-textarea-autosize

Why IS the performance so poor?

Đang mở
#235 3 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ả

I've moved to using this component instead of [the other one](https://github.com/buildo/react-autosize-textarea), as the other inexplicably stops all transitions from CSSTransitionGroup and the like.

As I've seen reported on here already, when there's a lot of components in use, it's real janky and lags a fair bit - far more than I'd expect from simply doing some calculations involving font sizes and line-heights and whatnot.

I'm not here to complain, but as I've seen a mention of adding an ID increases performance for some reason, are there any other undocumented things we should know about that could smoothen things out a little?

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.