Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

327 B
Raw Blame
/**
 * A hover card renders in a portal, but React still bubbles its clicks to the
 * trigger's ancestors: without stopping them, clicking inside the card would
 * also open the assignee picker or the row the avatar sits in.
 */
export const stopCardClick = (event: { stopPropagation: () => void }) => event.stopPropagation();