From 9c63165ef5975875591eee78b8c6415d2aa038d5 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 11 Jan 2023 19:59:58 -0500 Subject: [PATCH] Fixed #8156 --- core/src/mindustry/ui/fragments/ConsoleFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/mindustry/ui/fragments/ConsoleFragment.java b/core/src/mindustry/ui/fragments/ConsoleFragment.java index 46d9be409c..0b53fa41e4 100644 --- a/core/src/mindustry/ui/fragments/ConsoleFragment.java +++ b/core/src/mindustry/ui/fragments/ConsoleFragment.java @@ -46,6 +46,9 @@ public class ConsoleFragment extends Table{ } if(shown){ chatfield.requestKeyboard(); + }else if(scene.getKeyboardFocus() == chatfield){ + scene.setKeyboardFocus(null); + scene.setScrollFocus(null); } clearChatInput(); }