From 043012e809a262a9453f1c81dddee183407ddf01 Mon Sep 17 00:00:00 2001 From: Dylan Hackworth Date: Sat, 7 Sep 2024 08:08:16 -0500 Subject: [PATCH] pressing up to edit should take you to end of line (#1928) --- src/app/features/room/RoomTimeline.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/features/room/RoomTimeline.tsx b/src/app/features/room/RoomTimeline.tsx index 01ba14f5c..d86ea4d96 100644 --- a/src/app/features/room/RoomTimeline.tsx +++ b/src/app/features/room/RoomTimeline.tsx @@ -726,6 +726,7 @@ export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli const editableEvtId = editableEvt?.getId(); if (!editableEvtId) return; setEditId(editableEvtId); + evt.preventDefault() } }, [mx, room, editor]