# Buggy virtual keyboard when inputs are focused

**URL:** <https://forum.webostv.developer.lge.com/t/buggy-virtual-keyboard-when-inputs-are-focused/23927>\
**Category:** Web App Development\
**Created:** [March 17, 2025, 12:11am UTC](https://forum.webostv.developer.lge.com/t/buggy-virtual-keyboard-when-inputs-are-focused/23927 "2025-03-17T00:11:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oli\_lin](https://avatars.discourse-cdn.com/v4/letter/o/85e7bf/32.png) [@oli\_lin](https://forum.webostv.developer.lge.com/u/oli_lin)\
**Post date:** [March 17, 2025, 12:11am UTC](https://forum.webostv.developer.lge.com/t/buggy-virtual-keyboard-when-inputs-are-focused/23927/1 "2025-03-17T00:11:37Z")

</div>

I’m attempting to make the Magic Remote work with navigating between inputs and buttons as per tab-indexes (UP & DOWN on the remote), but for some reason, only the first DOWN event works as it should for the input(s). Afterwards it spams it until pressed again, and the virtual keyboard disappears in an instant for each event. Is it possible to prevent the keyboard from appearing when inputs are focused, and manually show it?

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [March 17, 2025, 12:50am UTC](https://forum.webostv.developer.lge.com/t/buggy-virtual-keyboard-when-inputs-are-focused/23927/2 "2025-03-17T00:50:07Z")

</div>

In webOS TV apps, the virtual keyboard is always enabled when the input has focus and cannot be disabled. If the input has focus, the virtual keyboard will process the input. And the keypress, keyup and keydown event handlers do not work on the virtual keyboard. So if you need to get the input value, please use input or change event for that input field. You can find more information in [System UI Visibility](https://webostv.developer.lge.com/develop/guides/system-ui-visibility#visibility-of-the-virtual-keyboard). Thank you.

---

<div class="post-metadata">

**Author:** ![oli\_lin](https://avatars.discourse-cdn.com/v4/letter/o/85e7bf/32.png) [@oli\_lin](https://forum.webostv.developer.lge.com/u/oli_lin)\
**Post date:** [March 18, 2025, 11:53pm UTC](https://forum.webostv.developer.lge.com/t/buggy-virtual-keyboard-when-inputs-are-focused/23927/3 "2025-03-18T23:53:46Z")

</div>

Yeah, the problem I’m having right now is that I need to be able to navigate between inputs and buttons across the web application, but it seems like it’s not native to the TV and rather something you have to manually implement via key events?

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [March 18, 2025, 11:57pm UTC](https://forum.webostv.developer.lge.com/t/buggy-virtual-keyboard-when-inputs-are-focused/23927/4 "2025-03-18T23:57:49Z")

</div>

As mentioned above, the virtual keyboard is always enabled when the input has focus and cannot be disabled. If you need it, you must implement your own keyboard without using input tags in your app. For more information, please refer to [FAQ on Virtual Keyboard](https://webostv.developer.lge.com/faq/2014-08-01-virtual-keyboard-faq-virtual-keyboard). Thank you.
