mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix: don't enable overlay on iOS by default
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
ViewProps,
|
||||
StyleProp,
|
||||
ViewStyle,
|
||||
Platform,
|
||||
} from 'react-native';
|
||||
import Animated from 'react-native-reanimated';
|
||||
import {
|
||||
@@ -94,7 +95,7 @@ const {
|
||||
|
||||
export default class Card extends React.Component<Props> {
|
||||
static defaultProps = {
|
||||
overlayEnabled: true,
|
||||
overlayEnabled: Platform.OS !== 'ios',
|
||||
shadowEnabled: true,
|
||||
gesturesEnabled: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user