callstack / callstack/react-native-paper

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

Offen
#4,420 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
14.5k
Forks
2.2k
Ø Merge
5 T. 23 Std.
Gemergte PRs (30 T.)
12

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start at the React Native Paper Modal component and reproduce the iOS behavior using the reported elevation and backdrop settings on iOS 17.2. Compare it with the working Android behavior and verify that the modal shadow can be removed through its styles and theme configuration.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react-native, typescript
Bereich
frontend, mobile-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.