mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Add CTRL + ENTER to force send message.
Fix: cursor jumping to the end of message area. Fix: inconsistent message send button on mobile.
This commit is contained in:
@@ -99,7 +99,9 @@ export default function TextAreaAutoSize(props: TextAreaAutoSizeProps) {
|
||||
// ? it is a quick and dirty hack to fix
|
||||
// ? value not setting correctly
|
||||
// ? I have no clue what's going on
|
||||
ref.current.value = value;
|
||||
// ref.current.value = value;
|
||||
// * commented out of 30-08-21
|
||||
// * hopefully nothing breaks :v
|
||||
|
||||
if (!autoFocus) return;
|
||||
function keyDown(e: KeyboardEvent) {
|
||||
|
||||
Reference in New Issue
Block a user