callstack / callstack/react-native-paper
Checkbox not working inside a DataTable cell
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### 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
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100