From 70644ff26d67fd7aac2d0b9a2d3174a764357cb1 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 22 Oct 2025 16:22:50 +0200 Subject: [PATCH] Prevent editor focus on mobile devices --- web/pages/messages/[channelId].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pages/messages/[channelId].tsx b/web/pages/messages/[channelId].tsx index f43ea8b8..ae87e074 100644 --- a/web/pages/messages/[channelId].tsx +++ b/web/pages/messages/[channelId].tsx @@ -146,7 +146,7 @@ export const PrivateChat = (props: { }) useEffect(() => { - if (editor) { + if (editor && !isMobile) { editor.commands.focus() } }, [editor])