Is 'keyboardlisteningelement' supported in 5.3?

I am now addressing the input field bug in the rewrite of our UI for http://blocksworld.com.

I have used

#if !UNITY_EDITOR && UNITY_WEBGL
WebGLInput.captureAllKeyboardInput = false;
#endif

Unfortunately - It seems canvas is not designed to be programmatically focused. I don’t want to force my users to click - the captureAllKeyboardInput = true worked well - except for killing our search field.

Does keyboardlisteningelement still have support?

Thank you.

Possibly, you could reenable WebGLInput.captureAllKeyboardInput as soon as the user is done with the search field?

1 Like

Thank you for your consideration.

I’ll expose a toggle to the javascript to enable/disable input and then I can control it based on the UI state.