Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.25f1

2022.2.20f1

2023.1.0b17

2023.2.0a15

Issue ID

UUM-35990

Regression

No

Input Field stays selected in EventSystem when Input Field becomes inactive

--

-

Reproduction steps:
1. Open project “My project”
2. Open scene “Main”
3. Enter Play mode
4. Click on the Input Field on the left and observe the text above (“Toggling_inp”)
5. Press Enter
6. Observe the text above

Expected result: The text says “null” - once the input field is SetActive( false ), it is no longer selected in EventSystem.currentSelectedGameobject and calls its own OnDeselect method
Actual result: the text still says “Toggling_inp”

Reproducible with: 2021.3.25f1, 2022.2.20f1, 2023.1.0b17, 2023.2.0a15
Couldn’t test with: 2020.3.48f1 (can’t deactivate the Input Field)

Reproducible on: macOS Ventura 13.2.1 (Intel), Windows 10 (by the reporter)

Notes: Also reproducible in Standalone Player

Workaround: adding a listener to OnEndEdit that calls "EventSystem.current.SetSelectedGameObject( null )" and "OnDeselect(BaseEventData eventData)"

  1. Resolution Note:

    Thank you for bringing this issue to our attention. Unfortunately, after careful consideration, we will not be addressing your issue at this time, as we are committed to resolving other higher-priority issues and delivering the new UI system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However, we know each case is different, so please continue to log any issues you find and provide any general feedback on our roadmap page to help us prioritize.
    Forum announcement
    https://forum.unity.com/threads/ui-toolkit-update-q3-2022.1329159/
    Roadmap https://unity.com/roadmap/unity-platform/ui

Add comment

Log in to post comment