callstack / callstack/react-native-paper

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

Ouverte
#4,843 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
14.5k
Forks
2.2k
Merge moyen
5 j 23 h
PR mergées (30 j)
12

Description

### 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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the issue with a React Native Paper TextInput using activeUnderlineColor="transparent" on the listed iOS and Android versions. Trace the TextInput entry point and compare touch handling with and without the color setting; done means touch events register normally while the underline remains transparent.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, ios, react-native, typescript
Domaine
frontend, mobile
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.