callstack / callstack/react-native-paper
Unable to Remove Persistent Shadow from Modal Component in React Native Paper
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### Current behaviour
I'm experiencing an issue with the Modal component in React Native Paper in iOS where I am unable to remove the shadow from the modal view. Despite trying various approaches to eliminate the shadow, it remains persistent. Where it's working fine on the android device without any shadow.
### Expected behaviour
The shadow around the Modal component should be removed based on the provided styles and theme configurations.
### Preview

### What have you tried so far?
Elevation to 0
Backdrop to white(To make the background colour of the modal white instead of opaque)
### Your Environment
| software | version
| --------------------- | -------
| ios | iOS 17.2
贡献指南
调研方向
从 React Native Paper Modal 组件开始,使用已报告的 elevation 和 backdrop 设置,在 iOS 17.2 上复现 iOS 的行为。将其与正常工作的 Android 行为进行比较,并验证是否可以通过其样式和主题配置移除 modal 阴影。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- frontend, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100