callstack / callstack/react-native-paper

Unable to Remove Persistent Shadow from Modal Component in React Native Paper

未关闭
#4,420 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
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
![Simulator Screenshot - iPhone 15 Pro - 2024-05-27 at 13 06 48](https://github.com/callstack/react-native-paper/assets/51710467/31e2f779-163f-4ef8-b315-81bc481a7e0e)

### 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

把新 issue 发到你的邮箱

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