Prevent editor focus on mobile devices

This commit is contained in:
MartinBraquet
2025-10-22 16:22:50 +02:00
parent bbefcc3bc8
commit 70644ff26d

View File

@@ -146,7 +146,7 @@ export const PrivateChat = (props: {
})
useEffect(() => {
if (editor) {
if (editor && !isMobile) {
editor.commands.focus()
}
}, [editor])