diff --git a/src/components/QuickReactMenu.tsx b/src/components/QuickReactMenu.tsx index 974262ff..3f34d2ce 100644 --- a/src/components/QuickReactMenu.tsx +++ b/src/components/QuickReactMenu.tsx @@ -19,6 +19,8 @@ interface QuickReactMenuProps { eventKind: number; /** Called after an emoji is selected so the parent can close the popover. */ onClose?: () => void; + /** Called when the full picker is opened/closed so the parent can lock the popover open. */ + onExpandChange?: (expanded: boolean) => void; /** Optional extra class names. */ className?: string; } @@ -28,6 +30,7 @@ export function QuickReactMenu({ eventPubkey, eventKind, onClose, + onExpandChange, className, }: QuickReactMenuProps) { const { user } = useCurrentUser(); @@ -145,7 +148,10 @@ export function QuickReactMenu({ {/* More button to show full picker */}