Resolve "Searchable settings puts expand/collapse toggle in an invalid state."
requested to merge 35955-searchable-settings-puts-expand-collapse-toggle-in-an-invalid-state into master
Fix a regression from !12247 (merged) in which the the expand/collapse toggle is put into an invalid state after using a text search to open a settings panel.
Closes #35955 (closed), #37520 (closed) and https://gitlab.com/gitlab-org/gitlab-ce/issues/39207
Edited by Eric Eastwood