UMG Focus is Lost When Clicking on "Visible" Widgets
Focus is lost when clicking on widgets, even those marked as Visible. Buttons seem to be the only exception.
UI mode is set to Game and UI.
asked Nov 11 '15 at 07:41 AM in Bug Reports
I give my solution, I hope it will help you (and the other people who come to this forum and were looking for the solution like me, 30 minutes ago, before I found this little trick! ^^)
1- record the focused button in the Event Tick
2- Create a giant, invisible button, without pressed padding, which contains the entire menu.
3- When clicking on this giant invisible button (OnPress, not OnClick), set the focus to the current focused button
It works perfectly for me! ^^ Final result: https://streamable.com/kwm4c
Tip: you can remove the default dotted frame around the button by disabling this feature in project settings:
answered Jul 01 '19 at 02:09 PM
After taking a quick look at your project, it appears that you will need to manage your inputs. I made the change below (set input mode ui only) and this appears to have resolved the issues mentioned in the project. I hope that this information helps.
Make it a great day
answered May 20 '16 at 02:02 PM
Rudy Q ♦♦ STAFF
bIsFocusable = true; ?
answered Dec 28 '17 at 11:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here