Explorar el Código

Minor tweeks to Masonry screen

- Adjust animation values
- Add drawUnderNavBar: true since it’s hidden. Should be done by the framework by default
Guy Carmeli hace 7 años
padre
commit
cb0945dfdf

+ 3
- 2
example/src/screens/transitions/sharedElementTransitions/Masonry/Item.js Ver fichero

@@ -2,13 +2,14 @@ import React from 'react';
2 2
 import { StyleSheet, View, Text, Image } from 'react-native';
3 3
 import { SharedElementTransition } from 'react-native-navigation';
4 4
 
5
-const SHOW_DURATION = 200;
6
-const HIDE_DURATION = 300;
5
+const SHOW_DURATION = 240;
6
+const HIDE_DURATION = 200;
7 7
 
8 8
 class Item extends React.Component {
9 9
 
10 10
     static navigatorStyle = {
11 11
         navBarHidden: true,
12
+        drawUnderNavBar: true
12 13
     };
13 14
 
14 15
     render() {