i am developing webos app and i use spatial navigation for tv but input field give issue so i change input to editable div so i need to externally call in display key board so how can i call that its no have any webos API to call keybaord???
Currently, no virtual keyboard-related APIs are provided. The virtual keyboard is enabled when the input tag has focus. So, if there is no input tag, you have to implement the keyboard yourself. Thank you.
I understand that currently webOS does not provide any API to explicitly open the virtual keyboard and that it only appears when an <input> element receives focus.
However, I would like to add some context from my side. I am using a spatial navigation library for TV remote navigation. The same implementation works correctly on Samsung Tizen TV and Android TV. On webOS, when an <input> field is focused, the last remote key event keeps firing continuously, which breaks the UI and prevents proper input focus handling.
Because of this behavior (which seems to be specific to webOS), I had to replace the <input> element with a contenteditable <div>. But as expected, the virtual keyboard does not appear since webOS only supports it for <input> elements.
From my understanding, this issue is not caused by the spatial navigation logic itself, as it behaves correctly on other TV platforms. It appears to be a platform-specific behavior on webOS when handling key events with focused input fields.
Is there any recommended workaround or best practice for handling text input with remote navigation on webOS in this case?
For example:
-
A way to prevent continuous key events on focused
<input>elements -
Or any supported approach to trigger the virtual keyboard while using custom focus handling
Any guidance would be greatly appreciated.
We cannot check 3rd party library issues. Please contact the library support to check compatibility. Thank you.