From 2503dca813280fbd151e5a830f47c9ef6f71e4a6 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 24 Jul 2024 13:27:06 +1000 Subject: [PATCH] fix(ui): show boards panel when opening board search --- .../src/features/gallery/components/ImageGalleryContent.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx b/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx index e5a54b3ae0..61fa9fb267 100644 --- a/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/ImageGalleryContent.tsx @@ -43,7 +43,8 @@ const ImageGalleryContent = () => { dispatch(boardSearchTextChanged('')); } boardSearchDisclosure.onToggle(); - }, [boardSearchText, dispatch, boardSearchDisclosure]); + boardsListPanel.expand(); + }, [boardSearchText.length, boardSearchDisclosure, boardsListPanel, dispatch]); const handleToggleBoardPanel = useCallback(() => { if (boardSearchText.length) {