Don't intercept TAB on the app outside of the composer, fix tabIndex > 0

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-10-10 14:13:29 +01:00
parent 7160922b77
commit 5643743167
7 changed files with 6 additions and 11 deletions

View file

@ -108,7 +108,7 @@ export class TopLeftMenu extends React.Component {
</AccessibleButton>
);
return <div className="mx_TopLeftMenu mx_HiddenFocusable" tabIndex={0} ref={this.props.containerRef}>
return <div className="mx_TopLeftMenu" ref={this.props.containerRef}>
<div className="mx_TopLeftMenu_section_noIcon" aria-readonly={true}>
<div>{this.props.displayName}</div>
<div className="mx_TopLeftMenu_greyedText" aria-hidden={true}>{this.props.userId}</div>