callstack / callstack/react-native-paper

TextInput doesn't work when wrapped with DataTable.Cell

Abierto
#4,236 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

### Current behaviour
When wrapping react-native-paper TextInput with DataTable.Cell, the TextInput field cannot be clicked. This happens when using expo 46 or 47 for example. However, when switching to expo 49 the issue is gone.

### Expected behaviour
TextInput should work no matter what the expo version is.

### How to reproduce?
Check this snack and use it with expo 47 and then switch to 49:
https://snack.expo.dev/NJBBqWh5g

### Preview
Use the snack and switch from expo v47 to 49 and see that input starts working again

### What have you tried so far?
I have tried to use pointerEvents prop etc without success.

### Your Environment

| software | version
| --------------------- | -------
| ios | x
| android | x
| react-native | x.x.x
| react-native-paper | 5.11.4
| node | x.x.x
| npm or yarn | x.x.x
| expo sdk | 47.0.0 / 49.0.0

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.