fix(35): WR-02 close FAB menu before opening catalog search overlay
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -30,12 +30,18 @@ export function FabMenu({ isSetupsPage }: FabMenuProps) {
|
|||||||
{
|
{
|
||||||
label: t("fab.addToCollection"),
|
label: t("fab.addToCollection"),
|
||||||
icon: <Package className="w-5 h-5 text-gray-600" />,
|
icon: <Package className="w-5 h-5 text-gray-600" />,
|
||||||
onClick: () => openCatalogSearch("collection"),
|
onClick: () => {
|
||||||
|
closeFabMenu();
|
||||||
|
openCatalogSearch("collection");
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t("fab.startNewThread"),
|
label: t("fab.startNewThread"),
|
||||||
icon: <Search className="w-5 h-5 text-gray-600" />,
|
icon: <Search className="w-5 h-5 text-gray-600" />,
|
||||||
onClick: () => openCatalogSearch("thread"),
|
onClick: () => {
|
||||||
|
closeFabMenu();
|
||||||
|
openCatalogSearch("thread");
|
||||||
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user