Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RedM]: When input is pressed and released, input state is not released after NUI opened #3064

Open
Identity-labs opened this issue Jan 13, 2025 · 0 comments
Labels
bug RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Identity-labs
Copy link
Contributor

What happened?

Enable NUI focus NUI with any input, release the input and state is not reset.
You have to disable focus and tap input again to be reset
It's happening with raw key natives too

Expected result

When key is release input state should be released.

Reproduction steps

setTick(() => {
    const down = Citizen.invokeNative<boolean>('0xD95A7387', 0x41); // IS_RAW_KEY_DOWN
    if (down) {
        console.log('VK_A is down'); // this should ne be displayed when input is released when nui focus is active
        SetNuiFocus(true, true);
    }
});

Importancy

Slight inconvenience

Area(s)

RedM

Specific version(s)

all

Additional information

No response

@Identity-labs Identity-labs added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jan 13, 2025
@github-actions github-actions bot added the RedM Issues/PRs related to RedM label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

1 participant