Author Topic: UIInput without TouchScreenKeyboard's input  (Read 3751 times)

yong

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 7
    • View Profile
UIInput without TouchScreenKeyboard's input
« on: May 29, 2014, 04:42:39 PM »
Hello,

I upgraded NGUI to version 3.6.1 and it seems like it supports caret in mobile devices - I really appreciate the feature!

Anyways, it seems like when I hide  TouchScreenKeyboard's input by setting hideInput field as
TouchScreenKeyboard.hideInput = true;
it seems like existing texts in the input box get duplicated with substring of the text in the box on every focus.

Is there any fix to this or planned update so that UIInput supports mKeyboard with hidden input box?

Thanks in advance!  :D


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput without TouchScreenKeyboard's input
« Reply #1 on: May 30, 2014, 02:10:32 PM »
You should not be hiding it yourself. The input field has a new option for the keyboard type -- choose HiddenInput.