/** * ComfyUI MagnifyGlass - Custom Dropdown * * A custom dropdown component that stays within viewport bounds. * Replaces native select elements for better positioning control. */ export interface CustomDropdownConfig { options: string[]; currentValue: string; anchor: HTMLElement; onChange: (value: string) => void; onClose?: () => void; theme?: string; } /** * Custom dropdown that positions itself within viewport bounds. * Use this instead of native