Search Issue Tracker

Fixed in 4.6.X

Votes

1

Found in

4.6.0b21

Issue ID

641560

Regression

Yes

InputField.OnSubmit is triggered needlessly

UI

-

To reproduce:
1. Open attached project
2. Open InputFieldOnSubmitTest scene
3. Attach the ActivateInputFieldOnStart script to the input field
4. Press play
5. Notice from the console output how OnSubmit was triggered yet again, on the first frame, because the input field was selected/activated. Also, NullReferenceException is thrown when scripts are recompiled

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.