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

[Bug] NUI cannot be closed if opened to quickly #676

Open
alberttheprince opened this issue Dec 2, 2024 · 0 comments
Open

[Bug] NUI cannot be closed if opened to quickly #676

alberttheprince opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alberttheprince
Copy link

alberttheprince commented Dec 2, 2024

Describe the bug
When using something like that uses ox-lib menu, in some cases a user will open the menu and get "stuck". They will not be able to close it out with backspace.

This happens when text UI and opening a ox menu.

To Reproduce
Steps to reproduce the behavior:

  1. Spam E (or press it when available) when Text UI appears
  2. Menu will get stuck on screen, but not be interactable

Expected behavior
Menu opens/closes without getting stuck.

Screenshots
image

Additional context
Code where this is an issue:
https://github.com/alberttheprince/popcornrp-customs/blob/main/client/menus/main.lua#L151-L152

Pressing backspace does not trigger closure.

This was solved in the past, but seems to still exist as an issue.

#61

@alberttheprince alberttheprince added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant