Author Topic: UIInput / Text Field Issue (mobile) **log in to see the pictures**  (Read 2641 times)

Cheong

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 8
    • View Profile
UIInput / Text Field Issue (mobile) **log in to see the pictures**
« on: September 21, 2015, 12:59:09 AM »
Hi readers,

There is an app that requires me to have login function...
But there is a problem that cause the app to be imperfect  :(

When I try to type-in the username for the login page, the mobile keyboard pop up for the username (works in expectation).
But when I try to click on the password text field, it did not pop up mobile keyboard for the password directly (oh.. no :( ).
Instead, the click on the password text field just performs closing the mobile keyboard for the username.
So the result is that it requires user to click the password text field 2 times/click anywhere before clicking the password text field when trying to key-in password.

Is there any way to solve this? Am I doing it wrong?

Thanks.
« Last Edit: September 21, 2015, 04:16:53 AM by Cheong »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput / Text Field Issue (mobile) **log in to see the pictures**
« Reply #1 on: September 26, 2015, 03:26:47 PM »
On which OS and which version of NGUI? Did you look inside UIInput to see what's happening? The keyboard is opened on line 663 in the latest version (TouchScreenKeyboard.Open).

Cheong

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: UIInput / Text Field Issue (mobile) **log in to see the pictures**
« Reply #2 on: September 27, 2015, 09:59:06 PM »
Ngui version of 3.9.2 , using Windows OS7, Unity 5.2.0p1.

Done reading the code at line 663. Any customization to the code needed to enable hiding the mobile keyboard automatically and enabling another mobile keyboard when another input field is touched?

Thanks.