Keyboard/mouse mode and keyboard support bugfixes
This commit is contained in:
parent
ed55006f20
commit
2a0a73cfc1
25 changed files with 686 additions and 274 deletions
|
@ -7,6 +7,7 @@ interface Props {
|
|||
*/
|
||||
ios: boolean;
|
||||
theme: 'light-theme' | 'dark-theme';
|
||||
mode: 'mouse-mode' | 'keyboard-mode';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -15,11 +16,15 @@ interface Props {
|
|||
*/
|
||||
export class ConversationContext extends React.Component<Props> {
|
||||
public render() {
|
||||
const { ios, theme } = this.props;
|
||||
const { ios, theme, mode } = this.props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={classNames(theme || 'light-theme', ios ? 'ios-theme' : null)}
|
||||
className={classNames(
|
||||
theme || 'light-theme',
|
||||
ios ? 'ios-theme' : null,
|
||||
mode
|
||||
)}
|
||||
style={{
|
||||
backgroundColor: theme === 'dark-theme' ? 'black' : undefined,
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue