Merge pull request #3543 from matrix-org/t3chguy/timeline_keyboard_focus

Don't intercept TAB on the app outside of the composer, fix tabIndex > 0
This commit is contained in:
Michael Telatynski 2019-10-10 17:52:10 +01:00 committed by GitHub
commit dcc948f43d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 11 deletions

View file

@ -553,7 +553,7 @@ export default class BasicMessageEditor extends React.Component {
<div
className="mx_BasicMessageComposer_input"
contentEditable="true"
tabIndex="1"
tabIndex="0"
onBlur={this._onBlur}
onFocus={this._onFocus}
onPaste={this._onPaste}