# Common UI Input ignores Arrow Keys

**URL:** <https://forums.unrealengine.com/t/common-ui-input-ignores-arrow-keys/2707318>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [March 19, 2026, 11:33am UTC](https://forums.unrealengine.com/t/common-ui-input-ignores-arrow-keys/2707318 "2026-03-19T11:33:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [March 20, 2026, 1:50pm UTC](https://forums.unrealengine.com/t/common-ui-input-ignores-arrow-keys/2707318/2 "2026-03-20T13:50:22Z")

</div>

HI @DarkFeenix ,  
Have you tried the solutions mentioned in those posts? One of them might help with what you’re trying to achieve.

> [@Common UI and Keyboard ONLY, no Mouse](https://forums.unrealengine.com/t/common-ui-and-keyboard-only-no-mouse/1234750/4):
>
> Btw in case anyone wants to support mouse also, I found a solution and verified it works in production Mostly when you click outside any widget, Viewport receives focus thats not what we want, to prevent such behavior: Create button class inherited from UCommonButtonBase with NativeOnFocusChanging // UBBaseCommonButton.cpp class BOGATYR\_API UBBaseCommonButton : public UCommonButtonBase, public IUserObjectListEntry { GENERATED\_BODY() public: #if PLATFORM\_DESKTOP || WITH\_EDITOR virtual …

> [@Losing focus in UI when clicking with the mouse](https://forums.unrealengine.com/t/losing-focus-in-ui-when-clicking-with-the-mouse/2278835):
>
> Hello everyone, I’m currently doing a menu for my game, and the menu should be navigable with the mouse, controller, and keyboard. If I click outside of the button with my mouse, the focus is lost, and the keyboard and the Controller don’t work anymore. I tried the visibility and input mode only UI trick, but it does not seem to work now ( I saw another recent video with the guy saying that he could not make that work too). I tested other ways of doing that, but they are not clean and do not sat…

Hope it helps!

---

_[View the full topic](https://forums.unrealengine.com/t/common-ui-input-ignores-arrow-keys/2707318)._
