It's still relatively slow as it forces a reflow in the browser if there are many collapsibles in the view. I didn't manage to identify the issue yet, but I left a TODO at the location that's responsible for it.
ui.fixControls()
ui.initializeControls()
search-editor