Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(calendar): stop in-calendar search preview from flashing and resetting grid scroll (#6077)
gbirmancfac5ccae9a5
diff --git a/apps/web/src/features/block-calendar/components/CalendarSearch.tsx b/apps/web/src/features/block-calendar/components/CalendarSearch.tsxindex 45fddaa739..d8616ff4ca 100644--- a/apps/web/src/features/block-calendar/components/CalendarSearch.tsx+++ b/apps/web/src/features/block-calendar/components/CalendarSearch.tsx@@ -124,6 +124,7 @@ function CalendarEventPreviewContent(props: {const organizer = () =>props.event.organizer?.name || props.event.organizer?.email || '';const detail = () => {+ if (previewQuery.isPending) return '';const preview = previewQuery.data;if (!preview) return '';const guests =@@ -389,7 +390,10 @@ function CalendarSearchControl() {moveActive(-1);} else if (event.key === 'Enter') {const active = results()[activeIndex()];- if (active) openResult(active);+ if (active) {+ event.preventDefault();+ openResult(active);+ }}}}placeholder="Search by event name"