mopsicus / umi

Unity mobile input (UMI) plugin for Android and iOS, allows to use features of mobile native input fields
MIT License
399 stars 92 forks source link

OnSelect / OnDeselect events aren't fired #19

Closed ip closed 5 years ago

ip commented 5 years ago

These events aren't fired at least on Android. You should be able to catch them by placing a script on the field GameObject which implements UnityEngine.EventSystems.ISelectHandler. We need this to scroll the UI up when user selects a field so that it's not covered by the keyboard.

mopsicus commented 5 years ago

Ok, I will check it

ip commented 5 years ago

Any update will be appreciated.

ip commented 5 years ago

As turned out, there's MobileInputField.OnFocusChanged which is the same as these 2 events. Would be nice to document it