- Home /
InputField focus on PC vs android
How do you focus another input field on onEndEdit correctly on android? For example at start the game focuses field 1, then I write something inside and click on done/return and it calls it's onEndEdit method which calls a method that focuses field 2 (field2.ActivateInputField()) but now this field instantly calls it's onEndEdit method, which focuses field 3 and this one again instantly calls onEndEdit...
It just goes from top to bottom. But this only happens on android. On PC it works perfectly fine as it should. Also this only happens if I click on return or OK key on android keyboard, if I cancel the keyboard by pressing somewhere outside it works normally as on PC.
Your answer
Follow this Question
Related Questions
TextField, Event.current, Input.GetKey, and GUI.FocusControl locking 1 Answer
Get input while running in background 1 Answer
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Defocus input line? 0 Answers
Debuggging standalone player, possible to receive input when window loses focus? 0 Answers