mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-08 17:23:01 +08:00
No shadow when transparent
This commit is contained in:
@@ -58,7 +58,7 @@ class Card extends React.Component {
|
||||
style={[StyleSheet.absoluteFill, containerAnimatedStyle, screenStyle]}
|
||||
active={active}
|
||||
>
|
||||
{shadowOpacity ? (
|
||||
{!transparent && shadowOpacity ? (
|
||||
<Animated.View
|
||||
style={[styles.shadow, { shadowOpacity }]}
|
||||
pointerEvents="none"
|
||||
|
||||
Reference in New Issue
Block a user