Merge pull request #4193 from MarcoZehe/FixExtraneousTabStopOnTree

Remove extraneous tab stop from room tree view.
pull/21833/head
Travis Ralston 2020-03-10 09:59:44 -06:00 committed by GitHub
commit a808b05026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -778,6 +778,9 @@ export default createReactClass({
className="mx_RoomList"
role="tree"
aria-label={_t("Rooms")}
// Firefox sometimes makes this element focusable due to
// overflow:scroll;, so force it out of tab order.
tabindex="-1"
onMouseMove={this.onMouseMove}
onMouseLeave={this.onMouseLeave}
>