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/08/29 18:46:32 UTC

[GitHub] [cordova-android] Chuckytuh commented on issue #822: Back button event on full screen video closes application

Chuckytuh commented on issue #822: Back button event on full screen video closes application
URL: https://github.com/apache/cordova-android/issues/822#issuecomment-526313239
 
 
   > If this is indeed a Chrome issue, then there wouldn't be much Cordova can do about it.
   > 
   > However a work around could be attaching an `backbutton` event listener so that you can respond to a back button press and programmatically close the fullscreen view. With this method, you'll probably either have to remove the event listener when it's not needed to let the back button do its default behaviour otherwise you'll have to keep track of when it should go back a page or exit the app.
   
   @breautek From what I could gather, in app event listeners, such as one for "backbutton" event is not, is not dispatched when in full screen mode. We're pretty much required to handle this from the native side.
   
   I've opened a PR with a simple fix that tackles this situation. 
   
   Proceed as you see fit, cheers!

----------------------------------------------------------------
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