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 · 1 comment
Open

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

alberttheprince opened this issue Dec 2, 2024 · 1 comment
Labels
bug Something isn't working cannot reproduce No valid reproduction method has been provided

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
@jag3dagster jag3dagster added the cannot reproduce No valid reproduction method has been provided label Jan 17, 2025
@jag3dagster
Copy link
Member

Unfortunately the described repro steps aren't enough to get a menu stuck on the screen for me. If you can find a more consistent repro I'd be happy to look into this again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot reproduce No valid reproduction method has been provided
Projects
None yet
Development

No branches or pull requests

2 participants