callstack / callstack/react-native-paper
PaperProvider breaks styles
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### Current behaviour
When trying to make a Dialog, the entire colors of my elements change
### Expected behaviour
No styling should be affected
### How to reproduce?
Just copy and paste the example of the Dialog and place a anywhere
### Preview


### What have you tried so far?
Placing it at different places in the provider
### Your Environment
| software | version
| --------------------- | -------
| ios | x
| android | 13.0
| react-native | 0.76.7
| react-native-paper | 5.13.1
| node | 23.3.0
| npm or yarn | 10.9.0
| expo sdk | 52.0.19
贡献指南
调研方向
从 issue 中描述的 PaperProvider 和 Dialog 示例开始,使用 react-native-paper 5.13.1、React Native 0.76.7 和 Expo SDK 52。将一个 Text 元素放置在 Dialog 旁边,并比较有无 provider 时它们的颜色,以复现该行为。完成的标准是:可以使用 Dialog,而不会改变其他元素的样式。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- frontend, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100