callstack / callstack/react-native-paper

Checkbox not working inside a DataTable cell

Abierto
#4,130 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug DataTable
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 I'm trying to click the checkbox inside a data table, it is not working.
For context, I'm trying to run this on a web app.

### Expected behavior
The expected behavior is that the checkbox will be enabled upon clicking it.

### How to reproduce?
Sample code of the issue
https://snack.expo.dev/HAg0OKrpW

### Preview
https://github.com/callstack/react-native-paper/assets/123606236/ff453885-9795-4e5b-90a4-ddd7be1d9de0

### What have you tried so far?
Switched the dependencies versions.
ex. downgrading react-native-paper to a lower stable release

### Your Environment

| software | version
| --------------------- | -------
| ios | x
| android | x
| react-native | 0.71.8
| react-native-paper | 5.9.1
| node | 18.13.0
| npm or yarn | 1.22.19
| expo sdk | x.x.x

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start with the linked Expo Snack and reproduce the checkbox click failure in the DataTable cell using react-native-paper 5.9.1 and React Native 0.71.8. Trace the DataTable cell interaction from that reproduction; done means clicking the checkbox enables it as described in the expected behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react-native, typescript
Área
frontend, mobile-dev
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.