I'm using Ubuntu 22.04.4 LTS. When I wake up the PC from the suspend mode and start typing my password, password box is full of dots (like keyboard is stuck and fills the box with letters) as soon as I hit the first key on my keyboard. When it happens, I can do nothing but putting the computer back to suspend mode via touchscreen (thankfully my notebook has touchscreen function) and wake it up again. Problem only happens if I start typing my password immediately when the login screen appears. If I wait few seconds before typing I have no problems at all.
Wondering why it happens and how to solve it.