Make TextBox entry consistent between Android and iOS

EDIT: might be a bug? Turning TextBox.ShowNativeInput off on Android doesn't display inputted text when typing


As a developer it is currently hard to design mobile UI that involves TextBox entry. On iOS users can entry text directly into a Textbox instance but on Android users type and the text is displayed at the top of the screen underneath the top bar.

What iOS users see: (note: dev created gui, it’d be directly into chat is chat was focused)

What Android users see: (note: chat gui in use here, it’s the same with any other TextBox)

If Roblox were to address this it would give developers the platform consistently we need when developing games. It’s hard to design any kind of input system that could snap to the keyboard if on android text is displayed at the top of the screen in a position that can block important UI elements.

12 Likes

How does the iOS one handle the case where the TextBox is behind where the keyboard would be? I don’t have any iOS devices to test on sadly.

2 Likes

The UI is shifted up so that the entire TextBox is visible. I am pretty sure that this is a feature on iOS and not just something that Roblox added because other apps and websites seem to have similar behavior.


This is what it looks like on my iPhone 11 running iOS 14.1

2 Likes

Perhaps that’s the issue then. I don’t think Android does this, so Roblox will have to go out of their way to support this.

I think the iOS behaviour is preferred if it’s possible to emulate that type of thing on Android.

2 Likes