mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-03 20:55:45 -04:00
Prevent editor focus on mobile devices
This commit is contained in:
@@ -146,7 +146,7 @@ export const PrivateChat = (props: {
|
||||
})
|
||||
|
||||
useEffect(() => {
|
||||
if (editor) {
|
||||
if (editor && !isMobile) {
|
||||
editor.commands.focus()
|
||||
}
|
||||
}, [editor])
|
||||
|
||||
Reference in New Issue
Block a user