Key stays stuck down after closing NUI interface

What is the issue you’re having?

Steps to reproduce:

  1. Join a server and hold down any key (e.g., W for movement).
  2. Open any interface while holding the key down.
  3. Close the interface while keeping the key pressed.
  4. The key remains stuck down in-game after the update until it is pressed again.

Additional details:
This issue started occurring right after the latest FiveM Enhanced update. When closing an interface while holding down a key, the key release event (keyup) is not registered, leaving the key stuck as if it were still being held down.

Windows version

Windows 11 last version

System specifications

I9 9900K
Rtx 2060 super
64GB Ram

Antivirus software

Windows Defender

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot: