[🐴] Don't submit the message on return press when on a phone (web input) (#4203)

move this to the `onKeyDown` prop

Revert "do the same for tablets"

This reverts commit 47c709e2734f2acf34f89dd5aca42a75a2b56270.

do the same for tablets

don't submit message if the device is a phone on web

move `onTouchStart` to `browser.ts` globals
This commit is contained in:
Hailey
2024-05-23 19:45:50 -07:00
committed by GitHub
parent fa039e542d
commit 85782aeb93
4 changed files with 11 additions and 6 deletions
+1
View File
@@ -1,2 +1,3 @@
export const isSafari = false
export const isFirefox = false
export const isTouchDevice = true