Enter key repeats UMG button

I have a chatbox in my game and want to set the focus to it when the enter key is pressed. Unfortunately, if you press any other buttons on the HUD, UMG seems to take over input from the enter key and spacebar. When these keys are pressed after hitting any of the hud buttons, the enter key and space repeat whatever button was last pressed if it is still visible on the screen. As in, if it is a pop up window that goes away when a button is pressed the chat pane works just fine afterword. I’ve tried using setFocustoViewport but that command doesn’t seem to work all the time.

Is there a way to simply prevent UMG from taking keyboard input?

I have the same problem. Do you have any progress with that?

Thanks in advance.