From fce0f0bb555e57b23073e4800a283ab5f5dcf3b3 Mon Sep 17 00:00:00 2001 From: Lucas Nielsen <97773113+lucasnielsen@users.noreply.github.com> Date: Sat, 24 Aug 2024 12:43:34 -0700 Subject: [PATCH] Update Window.lua (#332) * Update Window.lua Fixes an issue that causes the keyboard to completely break on certain mobile devices. * Update Window.lua --------- Co-authored-by: Wil <63251107+wilyt1@users.noreply.github.com> --- Cmdr/CmdrClient/CmdrInterface/Window.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cmdr/CmdrClient/CmdrInterface/Window.lua b/Cmdr/CmdrClient/CmdrInterface/Window.lua index 5d3a616d..2ee222fc 100644 --- a/Cmdr/CmdrClient/CmdrInterface/Window.lua +++ b/Cmdr/CmdrClient/CmdrInterface/Window.lua @@ -151,7 +151,7 @@ function Window:LoseFocus(submit) self:ClearHistoryState() - if Gui.Visible and not GuiService.MenuIsOpen then + if Gui.Visible and not GuiService.MenuIsOpen and not UserInputService.TouchEnabled then -- self:SetEntryText("") Entry.TextBox:CaptureFocus() elseif GuiService.MenuIsOpen and Gui.Visible then