react-native-navigation 8.8.2-snapshot.2495 → 8.8.2-snapshot.2499
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
for (UIViewController *viewController in bottomTabsController.deselectedViewControllers) {
|
|
10
10
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
11
11
|
UIWindow *preloadWindow = [[UIWindow alloc] initWithFrame:CGRectZero];
|
|
12
|
+
// Clip the preload window so the deselected tab's full-screen reactView,
|
|
13
|
+
// which is briefly hosted here while it renders, can't draw outside the
|
|
14
|
+
// zero-frame window and flicker over the already-visible selected tab.
|
|
15
|
+
preloadWindow.clipsToBounds = YES;
|
|
12
16
|
preloadWindow.hidden = NO;
|
|
13
17
|
|
|
14
18
|
dispatch_group_t ready = dispatch_group_create();
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
dispatch_group_t ready = dispatch_group_create();
|
|
8
8
|
|
|
9
9
|
UIWindow *preloadWindow = [[UIWindow alloc] initWithFrame:CGRectZero];
|
|
10
|
+
// Clip the preload window so the full-screen reactViews hosted here while
|
|
11
|
+
// they render can't draw outside the zero-frame window. Today the splash
|
|
12
|
+
// screen masks this, but without clipping it's a latent flicker.
|
|
13
|
+
preloadWindow.clipsToBounds = YES;
|
|
10
14
|
preloadWindow.hidden = NO;
|
|
11
15
|
|
|
12
16
|
NSMapTable *reactViewToParent = [NSMapTable strongToStrongObjectsMapTable];
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
self.name = [TextParser parse:dict key:@"name"];
|
|
10
10
|
self.componentId = [TextParser parse:dict key:@"componentId"];
|
|
11
11
|
self.alignment = [TextParser parse:dict key:@"alignment"];
|
|
12
|
-
|
|
12
|
+
self.waitForRender = [BoolParser parse:dict key:@"waitForRender"];
|
|
13
13
|
|
|
14
14
|
return self;
|
|
15
15
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
self.content = [[RNNEnterExitAnimation alloc] initWithDict:dict[@"content"]];
|
|
12
12
|
self.bottomTabs = [[ElementTransitionOptions alloc] initWithDict:dict[@"bottomTabs"]];
|
|
13
13
|
self.enable = [BoolParser parse:dict key:@"enabled"];
|
|
14
|
-
|
|
14
|
+
self.waitForRender = [BoolParser parse:dict key:@"waitForRender"];
|
|
15
15
|
self.duration = [TimeIntervalParser parse:dict key:@"duration"];
|
|
16
16
|
self.sharedElementTransitions = [OptionsArrayParser parse:dict
|
|
17
17
|
key:@"sharedElementTransitions"
|
package/ios/TransitionOptions.mm
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
self.translationY = [[TransitionDetailsOptions alloc] initWithDict:dict[@"translationY"]];
|
|
16
16
|
self.rotationX = [[TransitionDetailsOptions alloc] initWithDict:dict[@"rotationX"]];
|
|
17
17
|
self.rotationY = [[TransitionDetailsOptions alloc] initWithDict:dict[@"rotationY"]];
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
|
|
19
|
+
self.waitForRender = [BoolParser parse:dict key:@"waitForRender"];
|
|
20
20
|
self.enable = [BoolParser parse:dict key:@"enabled"];
|
|
21
21
|
|
|
22
22
|
return self;
|
package/package.json
CHANGED