Does not open links with target="_blank" in safari
This commit is contained in:
parent
846acf6708
commit
a2e327c1e4
|
@ -319,7 +319,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)aDecoder)
|
|||
if (isJSNavigation) {
|
||||
decisionHandler(WKNavigationActionPolicyCancel);
|
||||
}
|
||||
else if (navigationAction.targetFrame && ([scheme isEqualToString:@"http"] || [scheme isEqualToString:@"https"])) {
|
||||
else if ([scheme isEqualToString:@"http"] || [scheme isEqualToString:@"https"]) {
|
||||
decisionHandler(WKNavigationActionPolicyAllow);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue