Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ba28174

Browse files
authored
Prevent escape in threads from sending focus to main timeline composer (#11061)
1 parent 0ce3664 commit ba28174

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/views/rooms/SendMessageComposer.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ export class SendMessageComposer extends React.Component<ISendMessageComposerPro
356356
event: null,
357357
context: this.context.timelineRenderingType,
358358
});
359+
event.preventDefault();
360+
event.stopPropagation();
359361
break;
360362
}
361363
};

0 commit comments

Comments
 (0)