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

Make use of needsKeyboard / hudMenuInput for text input fields #19

Open
Robby- opened this issue Sep 6, 2023 · 0 comments
Open

Make use of needsKeyboard / hudMenuInput for text input fields #19

Robby- opened this issue Sep 6, 2023 · 0 comments

Comments

@Robby-
Copy link

Robby- commented Sep 6, 2023

When trying to type something in the text fields that the UI of this plugin provides, if the keys being pressed are bound to an action, it is causing unwanted things to happen in-game. For example executing a console command, making your in-game character move and/or opening up the inventory or crafting menu. These will all trigger.

A while ago Facepunch made some improvements to the CUI. A few of these improvements was adding NeedsKeyboard / needsKeyboard / hudMenuInput support which prevents keys being pressed from having effect in the game, thus eliminating the above problem when trying to type something in the text fields.

Would it be possible to add and make use of these for all the input fields in this plugin?
It would be an amazing quality of life addition and update for this plugin.

Thanks for considering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant