Dropdown box not working when setting active

My unity version is Unity 5.6.0f3

I’ve been having this problem for a while now. Creating a new project does not fix the problem and I’m reluctant to update my unity client because of possible script problems but if it’s something that has been fixed the so be it.

But my problem is when I see a UI dropdown box set active to false then true do that one more time and the dropdown box no longer works at all. I looked around google and found a bug report from a version way back but nothing since. Any possible help or other things I can do instead of setting active to false to hide the ui element from view would be greatly appreciated :slight_smile:

It’s a bit old but i had the same problem and i used this simple workaround. There should be some better solution, for sure, and i would be very glad if someone will point it out.

	public void disposeActionDropdown ()
	Invoke ("disableActionsDropdown", 0.5f);


	void disableActionsDropdown ()
		actionsDropDown.gameObject.SetActive (false);

Simply delay the call with an Invoke statement. Then the dropdown would be functioning when you set it to active again.