You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/12 17:58:15 UTC

[GitHub] [cordova-plugin-inappbrowser] timmliu commented on issue #566: app freeze/unresponsive if closed without pressing close button

timmliu commented on issue #566: app freeze/unresponsive if closed without pressing close button
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/566#issuecomment-553014460
 
 
   This is not a fix but a workaround by playing with the options. I have it working with: 
   
   ```javascript
   {
     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). 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org