Search Issue Tracker

Active

Votes

0

Found in

2022.3.58f1

6000.0.37f1

6000.1.0b5

6000.2.0a3

Issue ID

UUM-96982

Regression

No

TMP_InputField does not trigger the "onEndEdit" event after pressing ESC when there is a ScrollBar attached to it

-

How to reproduce:
1. Open the “BugReport.zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Enable the bottom input field to edit it In the Game view
5. Type in anything and press the ESC key
6. Observe the Console (note that the log is thrown)
7. Clear the console
8. Enable the top input field to edit it In the Game view
9. Type in anything and press the ESC key
10. Observe the Console

Expected result: An empty info log is logged or the previous text is logged
Actual result: Nothing gets logged

Reproducible in: 2022.3.58f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a3

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Notes:
- The “onEndEdit“ event is not triggered when the ESC key is pressed on the InputField that has the ScrollBar
- The InputField only appears to be active (caret is blinking), but pressing S will switch to the bottom InputField (like it would if it was selected, but not active), but the event is only sent when the top InputField becomes unselected

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.