Android web entering fulllscreen on input

Android web entering fulllscreen on input
0

I’ve set cc.view.enableAutoFullScreen(false); but if I start typing on an Input (the keyboard shows up) and then tap on the game screen (to hide the keyboard) it enters fullscreen automatically.

I’ve tried

var inputs = document.getElementsByTagName(‘input’);
for (var i = 0; i < inputs.length; i++) {
cc.screen.disableAutoFullScreen(inputs[i]);
}

But its still entering fullscreen automatically.

Any thoughts?

Cocos v2.1.3
Google Chrome Android