Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(gallery): let the picker popover show its arrow

Josh Corbett5d851f4016dd
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerPopover.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerPopover.tsx
index 5b4d45bac3..3826dab81c 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerPopover.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerPopover.tsx
@@ -57,7 +57,6 @@ export const GalleryPickerPopover = ({
display="flex"
flexDirection="column"
maxH="min(26rem, var(--available-height))"
- overflow="hidden"
p="0"
w="clamp(18rem, var(--reference-width), 28rem)"
>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx
index cd7843571a..1b0d64b6b9 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx
@@ -340,8 +340,9 @@ export const GalleryPickerView = ({
? t('widgets.gallery.picker.findBoard')
: t('widgets.gallery.picker.searchIn', { name: boardName });
+ // Clips here rather than on the popover content, whose arrow sits outside its box.
return (
- <Stack flex="1" gap="0" minH="0">
+ <Stack borderRadius="inherit" flex="1" gap="0" minH="0" overflow="hidden">
<input {...uploadInputProps} />
<HStack gap="1" minW="0" pt="2" px="2">
<Button