Open rinku-1993 opened 1 month ago
Based on the source code, I assume that currently shadow hiding is not supported. You might try using an older version of the modal and see if it meets your requirements.
To get older version you can use something like:
<Modal theme={{ isV3: false }} contentContainerStyle={{ elevation: 0 }}>
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