diff --git a/entrypoints/options/layouts/GeneralSection.tsx b/entrypoints/options/layouts/GeneralSection.tsx index 0c47a83..ab1a0fd 100644 --- a/entrypoints/options/layouts/GeneralSection.tsx +++ b/entrypoints/options/layouts/GeneralSection.tsx @@ -27,6 +27,9 @@ export default function GeneralSection(): React.ReactElement if (e.optionValue === "popup" && contextAction !== "open") setContextAction("open"); + if (import.meta.env.FIREFOX && e.optionValue !== "sidebar") + browser.sidebarAction.close(); + setListLocation(e.optionValue as ListLocationType); };