Explorar el Código

Prevent keyboard from hiding when overlay is shown (#4778)

If you use overlays to show in-app notifications
it would closes the keyboard every time an overlay is
opened.
Tom Hicks hace 6 años
padre
commit
aba58b6c5a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lib/ios/RNNOverlayManager.m

+ 1
- 1
lib/ios/RNNOverlayManager.m Ver fichero

@@ -16,7 +16,7 @@
16 16
 	[_overlayWindows addObject:overlayWindow];
17 17
 	overlayWindow.rootViewController.view.backgroundColor = [UIColor clearColor];
18 18
 	[overlayWindow setWindowLevel:UIWindowLevelNormal];
19
-	[overlayWindow makeKeyAndVisible];
19
+	[overlayWindow setHidden: NO];
20 20
 }
21 21
 
22 22
 - (void)dismissOverlay:(UIViewController*)viewController {