Author Topic: Input area not hidden when UiLabel is multiline  (Read 1756 times)

Chris

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Input area not hidden when UiLabel is multiline
« on: January 16, 2014, 10:58:02 AM »
Hi,

we currently updated our project with the newest version (3.0.8. f7). We are very happy about the new changes to the UiInput-component, but we still encounter two problems.
First of all i have to mention that we disable the device input area via TouchScreenKeyboard.hideInput since we already have the inputarea visible on the screen (the UiLabel/UiInput).

For a singleline label it works like expected including the autocompletion-feature except that the cursor/caret is not shown at all on all mobile devices.
The bigger issue is, that for multiline labels the native OS-Input is shown despite our effort to force the app to disable it.

Maybe you have a solution for our problem. If it is not possible with the current NGUI-Version, maybe you can consider to implement the option to not show the text input field with the next update.

lukos86

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Input area not hidden when UiLabel is multiline
« Reply #1 on: April 22, 2014, 11:21:37 AM »
Im having exactly same issue, very annoying

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Input area not hidden when UiLabel is multiline
« Reply #2 on: April 23, 2014, 07:17:31 AM »
All NGUI does there is opens the keyboard using the Unity function. You can play with the parameters if you like. Line 482 of UIInput.cs.