phaserjs/phaser-ce

Chrome 71 (Android) fullscreen mode does not hide Android soft keys

Closed this issue · 4 comments

You may not notice the issue if your Android device has hardware navigation keys. Pixel phones for example have not. Here's a screenshot of the problem.

This can be solved by passing Fullscreen​Options​.navigationU to the fullscreen request. MDN

I'll send a pull request in the next couple of days.

Not sure if can test for FullscreenOptions support, but I don't think there's any harm in passing it to browsers that don't support it.

It already passes navigationUI: hide to the fullscreen request, so I don't think it's that.

https://github.com/photonstorm/phaser/blob/master/src/scale/ScaleManager.js#L1181-L1183

Oops, sorry, yes :) Should be easy enough to add in there.