Make use of needsKeyboard / hudMenuInput for text input fields
Opened this issue · 0 comments
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.