mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-23 20:10:49 +08:00
fix: fix broken animation on first screen
This commit is contained in:
@@ -228,8 +228,7 @@ export default class CardStack extends React.Component<Props, State> {
|
||||
: DefaultTransition;
|
||||
|
||||
const {
|
||||
animationEnabled = index !== 0 &&
|
||||
Platform.OS !== 'web' &&
|
||||
animationEnabled = Platform.OS !== 'web' &&
|
||||
Platform.OS !== 'windows' &&
|
||||
Platform.OS !== 'macos',
|
||||
gestureEnabled = index !== 0 &&
|
||||
|
||||
Reference in New Issue
Block a user