callstack / callstack/react-native-paper

[New Arch] TextInput text change flickers if within Portal

Đang mở
#4,580 15 bình luận 8 reaction 0 người được giao Xem trên GitHub
bug TextInput
Ngôn ngữ chính
TypeScript
Star
14.5k
Fork
2.2k
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
12

Mô tả

### Current behaviour
Under new arch any `TextInput` component (be it from react-native-paper or from react-native) within `Portal` (modal or dialog) will flicker when text is being changed.

### Expected behaviour
Editing text is smooth.

### How to reproduce?
Clone this repo: https://github.com/codan84/text-input-flicker
```
npm install
npm start
```
Open in Expo Go.

### Preview
https://github.com/user-attachments/assets/444d7ce3-c29b-4893-98b4-1322e6b846a9

### What have you tried so far?
Nothing, I see loads of issues related to Portal under new arch so I guess this is another one?

### Your Environment

| software | version
| --------------------- | -------
| ios | 18.1.1
| android | 10
| react-native | 0.76.5
| react-native-paper | 5.12.5
| expo sdk | 52

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đá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.