UserInputService:GetFocusedTextBox() gets textbox on mobile perpetually

I’m assuming this is intended behavior but if it’s not then it’s a bug.
My code goes something like

if UserInputService:GetFocusedTextBox() then return end
-- more code below

On mobile, if a player chats anything but then does not send the chat and instead closes the chat menu they will get perpetually returned out of this function. Ditto with text-entry GUI elements.

Is there a workaround to this? I’d like to keep using UserInputService here, as ContextActionService would be impractical for what I’m trying to do.