callstack / callstack/react-native-paper

TouchableRipple ripple effect not working in RN 0.81

未关闭
#4,810 7 条评论 22 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

### Current behaviour
After upgrading to RN 0.81 all ripple effect in TouchableRipple component doesn't show anymore.

### Expected behaviour
rippleColour prop is not effective anymore, it should normally apply the selected colour.

### How to reproduce?
`
console.log("Pressed");
}
>


`

### Your Environment
| software | version
| --------------------- | -------
| android | 15
| react-native | 0.81
| react-native-paper | 5.14.5

贡献指南

打开贡献指南

调研方向

从 TouchableRipple 组件开始,在 Android 15 上使用 React Native 0.81 和 react-native-paper 5.14.5,通过提供的 rippleColor 示例复现该问题。跟踪 rippleColor 的应用方式,并验证修复后所选的 ripple 颜色可见。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
frontend, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。