Browse Source

shared element fix

yogevbd 6 years ago
parent
commit
9c4074da6e

+ 1
- 1
lib/ios/RNNNavigationStackManager.m View File

@@ -30,7 +30,7 @@ dispatch_queue_t RCTGetUIManagerQueue(void);
30 30
 	self.fromVC = vc;
31 31
 	
32 32
 	
33
-	if (self.toVC.options.animations.push) {
33
+	if (self.toVC.options.animations.push || self.toVC.isCustomTransitioned) {
34 34
 		vc.navigationController.delegate = newTop;
35 35
 	} else {
36 36
 		vc.navigationController.delegate = nil;

+ 1
- 1
playground/src/screens/CustomTransitionDestination.js View File

@@ -18,7 +18,7 @@ class CustomTransitionDestination extends Component {
18 18
           text: 'ye babyyyyyy',
19 19
           fontFamily: 'HelveticaNeue-Italic'
20 20
         },
21
-        largeTitle: true
21
+        largeTitle: false
22 22
       }
23 23
     };
24 24
   }