HTMLMesh: Add support for input of type text and number in VR#31160
Conversation
…t.focus() to bring the system keyboard in VR
|
You have the live example here https://ada.is/aframe-htmlmesh/ if you want to test with Meta browser on Quest 2, 3, 3S devices. |
FYI @cabanier |
He's aware. I shared the issue with him on Discord WebXR aframe channel.
|
|
Yes, one of my team members is working on supporting this. |
…t.focus() to bring the system keyboard in VR (mrdoob#31160)
…t.focus() to bring the system keyboard in VR (mrdoob#31160)
Description
Add support for input of type text and number, calling
input.focus()to bring the system keyboard in VR.See https://latest.developers.meta.com/horizon/documentation/web/webxr-keyboard/
Note that on Meta browser 38.4 for input of type number it brings the wrong keyboard in an immersive session, while it brings the correct numeric keyboard when you're not in a immersive session. I reported it pressing 5 times the meta button.
I did the PR initially in AdaRoseCannon/aframe-htmlmesh#25 that also includes an example.