|
|
@ -307,6 +307,7 @@ export class SessionConversation extends React.Component<Props, State> {
|
|
|
|
/> */}
|
|
|
|
/> */}
|
|
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
|
|
|
|
// if you change the classname, also update it on onKeyDown
|
|
|
|
className={classNames(
|
|
|
|
className={classNames(
|
|
|
|
'conversation-content',
|
|
|
|
'conversation-content',
|
|
|
|
selectionMode && 'selection-mode'
|
|
|
|
selectionMode && 'selection-mode'
|
|
|
@ -888,6 +889,7 @@ export class SessionConversation extends React.Component<Props, State> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// EXIT WHAT ELSE?
|
|
|
|
// EXIT WHAT ELSE?
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (event.target.classList.contains('conversation-content')) {
|
|
|
|
switch (event.key) {
|
|
|
|
switch (event.key) {
|
|
|
|
case 'Escape':
|
|
|
|
case 'Escape':
|
|
|
|
if (selectionMode) {
|
|
|
|
if (selectionMode) {
|
|
|
@ -910,6 +912,7 @@ export class SessionConversation extends React.Component<Props, State> {
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private clearAttachments() {
|
|
|
|
private clearAttachments() {
|
|
|
|
this.state.stagedAttachments.forEach(attachment => {
|
|
|
|
this.state.stagedAttachments.forEach(attachment => {
|
|
|
|