Skip to content

Commit 8553946

Browse files
committed
Fix unresponsive main window after hide
1 parent 79b1bb6 commit 8553946

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ios/CDVWKInAppBrowser.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ - (void)show:(CDVInvokedUrlCommand*)command withNoAnimate:(BOOL)noAnimate
340340

341341
- (void)hide:(CDVInvokedUrlCommand*)command
342342
{
343+
// Set tmpWindow to hidden to make main webview responsive to touch again
344+
// https://stackoverflow.com/questions/4544489/how-to-remove-a-uiwindow
345+
self->tmpWindow.hidden = YES;
346+
343347
if (self.inAppBrowserViewController == nil) {
344348
NSLog(@"Tried to hide IAB after it was closed.");
345349
return;

0 commit comments

Comments
 (0)