Search Issue Tracker

Fixed in 2018.3.X

Votes

4

Found in

5.6.2f1

Issue ID

935649

Regression

No

Dropdown Menus become unresponsive/stuck when deactivated during OnValueChanged, then reactivated [SetActive(false/true)]

uGUI

-

How to reproduce:
1. Open QA-supplied project
2. Load "repro" scene
3. Enter the Play mode
4. Select either Option B or Option C on all three of the dropdown menus, they should deactivate
5. Click the SetActive(true) button

Expected result: Dropdown menus are reactivated and function as expected (open when clicked, close when an option is selected).
Actual result: Dropdowns are stuck mid-closing and have to be clicked on the menu (even if it's invisible) to start working like expected.

Reproducible with: 2017.3.0a4, 2017.2.0b7, 2017.1.0p4, 5.6.3p1, 5.5.4p3

Comments (1)

  1. Rexor4321

    Mar 02, 2018 09:51

    Solved it by placing the deactivation inside a coroutine, and then calling the coroutine from the OnValueChanged.

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.