Skip to content

Commit

Permalink
Update Window.lua (#332)
Browse files Browse the repository at this point in the history
* Update Window.lua

Fixes an issue that causes the keyboard to completely break on certain mobile devices.

* Update Window.lua

---------

Co-authored-by: Wil <[email protected]>
  • Loading branch information
lucasnielsen and wilyt1 authored Aug 24, 2024
1 parent e2ece92 commit fce0f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cmdr/CmdrClient/CmdrInterface/Window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fce0f0b

Please sign in to comment.