nevayeshirazi
Topic Author
Posts: 13
Joined: 26 Apr 2024, 03:50

Focusing Widget On UE5 When Input Mode Set to FInputModeGameAndUI

26 May 2024, 12:23

Hello,

I've recently discovered that when my input mode is not set to FInputModeUIOnly() in Unreal, my ListBox requires a double-click to select an item. It seems the initial click is potentially being used to focus the ListBox.

Currently, my strategy is to set focus to the ListBox when the cursor hovers over it. However, my user interface will consist of multiple windows, each containing various controls that need to be focused.

Is this hover-to-focus method the best approach? If so, is there a more generalized solution that could be applied to various controls across multiple windows? I appreciate any perspectives or advice on this matter.
 
nevayeshirazi
Topic Author
Posts: 13
Joined: 26 Apr 2024, 03:50

Re: Focusing Widget On UE5 When Input Mode Set to FInputModeGameAndUI

26 May 2024, 12:55

I don't know how but in FInputModeGameAndUI ListBox started work as expected (single left click to select).

Who is online

Users browsing this forum: No registered users and 1 guest