TLabAltoh / TLabWebViewVR

Sample Unity project for using TLabWebView in OculusQuest. Includes Meta XR SDK and XR Interaction Toolkit implementation example.
https://tlabgames.gitbook.io/tlabwebview/
MIT License
42 stars 9 forks source link

Combobox Not Working #34

Open lesofs306 opened 2 weeks ago

lesofs306 commented 2 weeks ago

I'm working on a Quest 3 app using TLabWebViewVR. However, none of the comboboxes on the web are functioning. Am I the only one experiencing this? Is there a way to make them work?

TLabAltoh commented 2 weeks ago

Hi, combobox (select tag ?) support is under development but it is possible to access the feature with some limitations. Do you have useCustomWidget enabled? Please see below for details.

from: https://github.com/TLabAltoh/TLabWebView/blob/master/README.md

[!WARNING] OculusQuest doesn't support some HTML5 input tags (see below). If you want to use them, please enable the useCustomWidget property of the TLabWebView class. It will display a widget implemented by this plugin on the WebView instead of the standard Android widget. Below is the status of html5 input tag support by this plugin's custom widget.

Also, currently custom input widget implemented by this plugin uses javascript and disable pointer event (onmousedown, onclick). Please note that this implementation has possibility to cause problem on some website.

For combobox, this plugin support only select tag in the case of using the plugin with a custom widget. But please note that this feature doesn't work for iframe elements that don't allows cross-origin access.