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: channel active message callout timeout directly after scroll (#646)
gbirman4ac3be3c4722
diff --git a/js/app/packages/block-channel/component/MessageList/MessageList.tsx b/js/app/packages/block-channel/component/MessageList/MessageList.tsxindex 5988986c93..f08c8b6262 100644--- a/js/app/packages/block-channel/component/MessageList/MessageList.tsx+++ b/js/app/packages/block-channel/component/MessageList/MessageList.tsx@@ -244,6 +244,9 @@ export function MessageList(props: MessageListProps) {virtualHandle()?.scrollToIndex(index, {align: 'center',});+ setTimeout(() => {+ setTargetMessageActive(false);+ }, TARGET_MESSAGE_ACTIVE_TIME);},5);@@ -652,10 +655,6 @@ export function MessageList(props: MessageListProps) {keepMounted={keepMountedIndices()}onScroll={handleScroll}onScrollEnd={() => {- setTimeout(() => {- setTargetMessageActive(false);- }, TARGET_MESSAGE_ACTIVE_TIME);-if (!initialScrollComplete()) {setInitialScrollComplete(true);}