|
@@ -301,7 +301,12 @@ static NSString* const setDefaultOptions = @"setDefaultOptions";
|
301
|
301
|
[overlayVC renderTreeAndWait:NO perform:^{
|
302
|
302
|
UIWindow* overlayWindow = [[RNNOverlayWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
303
|
303
|
overlayWindow.rootViewController = overlayVC;
|
304
|
|
- [_overlayManager showOverlayWindow:overlayWindow];
|
|
304
|
+ if ([overlayVC.resolveOptions.overlay.handleKeyboardEvents getWithDefaultValue:NO]) {
|
|
305
|
+ [_overlayManager showOverlayWindowAsKeyWindow:overlayWindow];
|
|
306
|
+ } else {
|
|
307
|
+ [_overlayManager showOverlayWindow:overlayWindow];
|
|
308
|
+ }
|
|
309
|
+
|
305
|
310
|
[_eventEmitter sendOnNavigationCommandCompletion:showOverlay commandId:commandId params:@{@"layout": layout}];
|
306
|
311
|
completion();
|
307
|
312
|
}];
|