callstack / callstack/react-native-paper

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

Đang mở
#4,420 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
14.5k
Fork
2.2k
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
12

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với component React Native Paper Modal và tái hiện hành vi của iOS bằng cách sử dụng các thiết lập elevation và backdrop đã được báo cáo trên iOS 17.2. So sánh với hành vi đang hoạt động trên Android và xác minh rằng có thể loại bỏ bóng của modal thông qua styles và cấu hình theme của nó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
react-native, typescript
Lĩnh vực
frontend, mobile-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.