Disabling full screen mode

I’ve created the game and exported as HTML5 game to run on a webview. Game is running fine no issue, but only thing is whenever I click anywhere in the game it changes to fullscreen mode. Is there any way to stop this? I don’t want to move to fullscreen mode.

Please help me with this. Let me know if any other info needed.

Have you tried exporting to web desktop and web mobile?