We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e57fca commit bfb983bCopy full SHA for bfb983b
apple/RNCWebViewImpl.m
@@ -1265,14 +1265,9 @@ - (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSSt
1265
completionHandler([textField stringValue]);
1266
} else {
1267
completionHandler(nil);
1268
- }];
1269
- [alert addAction:cancelAction];
1270
- alert.preferredAction = okAction;
1271
- [[self topViewController] presentViewController:alert animated:YES completion:NULL];
+ }
+ }];
1272
#endif // !TARGET_OS_OSX
1273
- } else {
1274
- completionHandler(nil);
1275
- }
1276
}
1277
1278
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000 /* iOS 15 */
0 commit comments