Prevent escape in threads from sending focus to main timeline composer (#11061)

This commit is contained in:
Michael Telatynski 2023-06-14 08:42:40 +01:00 committed by GitHub
parent 0ce3664434
commit ba28174ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,6 +356,8 @@ export class SendMessageComposer extends React.Component<ISendMessageComposerPro
event: null, event: null,
context: this.context.timelineRenderingType, context: this.context.timelineRenderingType,
}); });
event.preventDefault();
event.stopPropagation();
break; break;
} }
}; };