May be someone know why "shadowColor" property is not applied for drawer styles on Android? (With iOS looks like everything ok)
<Drawer
type="overlay"
...
styles={{
drawer: {shadowColor: 'black', shadowOpacity: 0.8, shadowRadius: 2}
...
}}
>
react-native-drawer version: 2.3.0
React Native version: 0.41.2
Platform(s) (iOS, Android, or both?): Android
Device info Simulator/Device? - Simulator Android 4.1 (API16), Simulator Android 7.1.1 (API25)
OS version? - MacOS 10.12.3
Debug/Release? - Debug
shadow
will only work on ios. You can try elevation
instead which is only available to android also.
shadow props: https://facebook.github.io/react-native/docs/shadow-props.html
check out elevation in View component: http://facebook.github.io/react-native/releases/0.41/docs/view.html#style
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With