pressing up to edit should take you to end of line (#1928)
authorDylan Hackworth <drhackworth@pm.me>
Sat, 7 Sep 2024 13:08:16 +0000 (08:08 -0500)
committerGitHub <noreply@github.com>
Sat, 7 Sep 2024 13:08:16 +0000 (18:38 +0530)
src/app/features/room/RoomTimeline.tsx

index 01ba14f5c77990ef120f059e69885665c268c2c3..d86ea4d96d5acb555606f5fe776b62a59fbaa202 100644 (file)
@@ -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]