Keyboard numbers not working

Using latest Brave browser 1.74.48 on Ubuntu 24.04.1 and Xfce 4.18

Occasionally, the keyboard starts malfunctioning; some number keys do not actually type the number; some arrow keys stop working; the enter key stops working; Often in a strange combination, for example of the keyboard numbers above the letters, only the fails to work, while on the keypad the works but other do not.

When this is happening, it only affects the Brave browser, other applications work fine.

I can’t force an occurrence of the issue, it happens following a seemingly random pattern.

Once the issue occurs it can only be fixed restarting Brave.