As the user types into the Search Bar, the folders in the TOC automatically expand to show the ItemTypes that match the search. After a user clears the search, the TOC resets and all of the folders will default to being closed even if some of them were open before the user started searching.
When the user then clicks to expand the folder, the folder still thinks it's open and will automatically close itself. This means that a user has to click any folder that was open before typing in the search bar twice to get it to open after clearing the search bar.
As the user types into the Search Bar, the folders in the TOC automatically expand to show the ItemTypes that match the search. After a user clears the search, the TOC resets and all of the folders will default to being closed even if some of them were open before the user started searching.
When the user then clicks to expand the folder, the folder still thinks it's open and will automatically close itself. This means that a user has to click any folder that was open before typing in the search bar twice to get it to open after clearing the search bar.