rajashekaranugu commented on issue #566: app freeze/unresponsive if closed 
without pressing close button
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/566#issuecomment-588287749
 
 
   > This is not a fix but a workaround by playing with the options. I have it 
working with:
   > 
   > ```js
   > {
   >   usewkwebview: "yes",
   >   clearcache: "yes",
   >   location: "no",
   >   fullscreen: "yes",
   >   enableViewportScale: "yes",
   >   toolbar: "yes",
   >   hidenavigationbuttons: "yes",
   >   closebuttoncolor: "#8EA9F6",
   >   closebuttoncaption: "Close",
   >   presentationstyle: "fullscreen",
   >   transitionstyle: "crossdissolve",
   >   toolbartranslucent: "no",
   >   toolbarposition: "bottom"
   > }
   > ```
   > 
   > The difference maker here is `presentationstyle: "fullscreen"`, which 
actually prevents the swipe-down closing action. You can only close it using 
the Close button, which circumvents the bug.
   > 
   > I coupled it with transitionstyle: "crossdissolve" so that it doesn't look 
like it's sliding up when it opens (which might subliminally indicate to the 
user they can swipe down to close it).
   
   @timmliu thanks a lot. it worked for me. I have also opend an issue 
https://github.com/apache/cordova-plugin-inappbrowser/issues/612. closing it 
now.
   
   tHANKS AGAIN

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to