Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix[mobile]: send button issue (#1191)

Peter Chinman5c4dfa5bde7e
diff --git a/js/app/packages/block-channel/component/BaseInput.tsx b/js/app/packages/block-channel/component/BaseInput.tsx
index eddb4ae665..5bed13a1cc 100644
--- a/js/app/packages/block-channel/component/BaseInput.tsx
+++ b/js/app/packages/block-channel/component/BaseInput.tsx
@@ -648,7 +648,8 @@ export function BaseInput(props: BaseInputProps) {
</div>
<Button
disabled={hasPendingAttachments()}
- onClick={() => {
+ onPointerDown={(e) => {
+ e.preventDefault();
handleSend();
}}
class="group transition ease-in-out hover:bg-transparent"