Support => NGUI 3 Support => Topic started by: Tripwire on June 02, 2014, 03:34:05 AM
Title: [BUG] NGUI 3.6.2 UIInput multi-line text and HideInput on Mobile
Post by: Tripwire on June 02, 2014, 03:34:05 AM
Hi,
I think I found a bug in the latest version of NGUI (3.6.2). When setting the keyboard type to HideInput on a textfield with multiple lines, it still shows the inputfield above the keyboard but it isn't inputting anything there just in the textfield where it should be.
Steps to reproduce: 1. Create a Textfield with multiple lines 2. On the UIInput set the keyboard type to HideInput 3. Run it on your mobile device (I used the iPhone 5s)
EDIT: It seems that Unity3D doesn't support hiding the Inputfield above the keyboard when using multi-line textfields: http://docs.unity3d.com/ScriptReference/TouchScreenKeyboard-hideInput.html
Title: Re: [BUG] NGUI 3.6.2 UIInput multi-line text and HideInput on Mobile
Post by: ArenMook on June 02, 2014, 10:56:15 PM
Add a check for this on line 539 of UIInput.cs. It's currently just checking for keyboardType being KeyboardType.HideInput. Change it to include the multiline check as well: