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

Commit

Permalink
Prevent escape in threads from sending focus to main timeline composer (
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jun 14, 2023
1 parent 0ce3664 commit ba28174
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/views/rooms/SendMessageComposer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ export class SendMessageComposer extends React.Component<ISendMessageComposerPro
event: null,
context: this.context.timelineRenderingType,
});
event.preventDefault();
event.stopPropagation();
break;
}
};
Expand Down

0 comments on commit ba28174

Please sign in to comment.