Backed out 2 changesets (bug 1953920, bug 1953927) for causing searchModeSwitcher related failures CLOSED TREE
Backed out changeset 8b74e1a3e693 (bug 1953920) Backed out changeset 4dfd7b14198d (bug 1953927)
This commit is contained in:
@@ -82,13 +82,19 @@ export class SearchModeSwitcher {
|
||||
|
||||
await this.#buildSearchModeList(this.#input.window);
|
||||
|
||||
this.#input.view.close({ showFocusBorder: false });
|
||||
if (anchor.getAttribute("open") == "true") {
|
||||
lazy.PanelMultiView.hidePopup(this.#popup);
|
||||
return;
|
||||
}
|
||||
|
||||
this.#input.view.hideTemporarily();
|
||||
|
||||
this.#popup.addEventListener(
|
||||
"popuphidden",
|
||||
() => {
|
||||
anchor.removeAttribute("open");
|
||||
anchor.setAttribute("aria-expanded", false);
|
||||
this.#input.view.restoreVisibility();
|
||||
},
|
||||
{ once: true }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user