Virtual Keyboard Anomaly - Oculus Quest

Steps to Create
Open https://www.babylonjs-playground.com/#FIISHL#136
Enter VR Mode
Laser into input text field on panel

Result:
The VR experiences freezes
Exit VR using button on controller
The oculus browser is showing a dialog box requesting text input

Expected Result:
VR should not freeze and the dialog should not appear

Workaround:
In the dialog box tick the prevent further alerts appearing.
The input text works and the user is not thrown further dialogs outside of VR mode.

Solution:
Is there a way to prevent this behaviour on oculus quest browser?

Hey no worries we got you covered ;D

Just call

inputText.disableMobilePrompt = true;

Thanks

1 Like