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.

potential fix for mobile focus issue on channel repleis (#41)

Peter Chinmana8f2d1b66664
diff --git a/js/app/packages/block-channel/component/BaseInput.tsx b/js/app/packages/block-channel/component/BaseInput.tsx
index 591d797f98..f35ec7dbad 100644
--- a/js/app/packages/block-channel/component/BaseInput.tsx
+++ b/js/app/packages/block-channel/component/BaseInput.tsx
@@ -184,19 +184,6 @@ export function BaseInput(props: BaseInputProps) {
}
}, 0);
}
-
- viewportObserver = new IntersectionObserver(
- (entries) => {
- const entry = entries[0];
- if (!entry.isIntersecting) {
- if (containerRef.contains(document.activeElement)) {
- blurMarkdownArea();
- }
- }
- },
- { threshold: 0 }
- );
- viewportObserver.observe(containerRef);
});
const onFocusLeaveEnd = (e: KeyboardEvent) => {