callstack / callstack/react-native-paper
Checkbox not working inside a DataTable cell
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### 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
贡献指南
调研方向
从链接的 Expo Snack 开始,使用 react-native-paper 5.9.1 和 React Native 0.71.8 复现 DataTable 单元格中点击复选框失败的问题。从这次复现开始跟踪 DataTable 单元格的交互;当点击复选框能够按照预期行为中的描述启用它时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- frontend, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100