callstack / callstack/react-native-paper

`TextInput`: setting `activeUnderlineColor` to `"transparent"` makes the `TextInput` unable to receive touch events

Đang mở
#4,843 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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
Touch events are not registered.

I believe this is related to the New Architecture, per [this issue filed on React Native](https://github.com/facebook/react-native/issues/50465). However, the resolution to this issue was that this is expected behavior, so this is still a bug here.

### Expected behaviour
Touch events should register.

### How to reproduce?
Create a `TextInput` and set the `activeUnderlineColor` to `"transparent"`. (Even a very light gray seems to trigger the issue.)

### Preview

### What have you tried so far?

### Your Environment

| software | version
| --------------------- | -------
| ios | 18
| android | 16
| react-native | 0.79.3
| react-native-paper | 5.14.5
| node | x.x.x
| npm or yarn | x.x.x
| expo sdk | x.x.x

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

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

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề với một React Native Paper TextInput sử dụng activeUnderlineColor="transparent" trên các phiên bản iOS và Android được liệt kê. Theo dõi điểm vào của TextInput và so sánh việc xử lý thao tác chạm khi có và không có cài đặt màu; được xem là hoàn tất khi các sự kiện chạm được ghi nhận bình thường trong khi đường gạch chân vẫn trong suốt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android, ios, react-native, typescript
Lĩnh vực
frontend, mobile
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

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.