diff --git a/MLEM.Ui/Elements/TextField.cs b/MLEM.Ui/Elements/TextField.cs index 9e3a2c9..0cd8601 100644 --- a/MLEM.Ui/Elements/TextField.cs +++ b/MLEM.Ui/Elements/TextField.cs @@ -55,7 +55,7 @@ namespace MLEM.Ui.Elements { if (WindowExtensions.SupportsTextInput()) { this.OnTextInput += (element, key, character) => { - if (!this.IsSelected) + if (!this.IsSelected || this.IsHidden) return; if (key == Keys.Back) { if (this.CaretPos > 0) {